Iām curious which are the bad ones.
Re:CSS Houdini
by noman-land on Wednesday May 12, 2021 @02:12PM
(#27133381)
You're in luck cuz he wrote a whole book about it called JavaScript: The Good Parts. It's a good read.
But I don't care about the good parts.
I'm asking about the bad parts.
Re:CSS Houdini
by noman-land on Wednesday May 12, 2021 @06:00PM
(#27135667)
I guess I should have been more clear that he talks about the bad parts in the book in order to tell you what not to do.
I find automatic type coercion to be the worst one. Everything else is fine.
Re:CSS Houdini
by tankenmate on Thursday May 13, 2021 @04:56AM
(#27139998)
Javascript's combination of default global scoping and automatic instantiation of variables is another bug bear. It's too easy to unintentionally shadow a variable or in combination with automatic type coercion get bugs that are really hard to track down.
And the ecosystem even more so.