tech communities
the other problem is that while i try not to make my code incomprehensible to people who are willing to learn about niche uses for edge cases in the ecmascript spec, it definitely is incomprehensible to the sort of person who has no interest in ever learning stuff like that
tech communities
i mean i do :—
const getDataViewBuffer =
Object.getOwnPropertyDescriptor(
DataView.prototype,
"buffer",
).get;
// later…
const buffer = Reflect.apply(
getDataViewBuffer,
myDataView,
[],
);
—: and that’s not even a weird edge case really that’s just a normal feature of the language
but i feel like most developers would look at that, say “it is not obvious to me what is happening here”, and move on rather than try learning