News for hackers. Stuff that matters.
Re:CSS Houdini by slver on Wednesday May 12, 2021 @01:59PM (#27133250)
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.
Re:CSS Houdini by slver on Wednesday May 12, 2021 @03:07PM (#27133967)
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.
Re:CSS Houdini by fctorial on Thursday May 13, 2021 @01:20AM (#27138687)
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.