408
Switching to OCaml bois
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Proving that adding the
classkeyword to the ECMAScript spec was a mistake that leads folks down a path they should not travel ๐I completely agree. I taught JS/TS for 5yrs and I always emphasised that the 'class' keyword was just syntactic sugar for what was already available in prototype inheritance of JS.