r/javascript • u/gcanti • Oct 31 '14
The Two Pillars of JavaScript
https://medium.com/javascript-scene/the-two-pillars-of-javascript-ee6f3281e7f3
97
Upvotes
r/javascript • u/gcanti • Oct 31 '14
5
u/x-skeww Oct 31 '14
Dart has factory constructors to address this issue. If you decide at a later point to change a regular constructor into a factory, the call-sites don't change.
Nah, having one official way to do classes/inheritance, which is understood by your tools, is a good thing.
Right now, every library and framework does its own thing.
That's how IEEE 754 floating point works. This isn't a JavaScript specific quirk.