News for hackers. Stuff that matters.
Re:Intent to stop using 'null' in my JS code by amw-zero on Sunday November 01, 2020 @08:03AM (#24959195)
That’s not what I asked. I know what the distinction is. I asked why would I ever need that distinction in a program.

In 10 years I’ve never come across a situation where I found that distinction useful.

Re:Intent to stop using 'null' in my JS code by thenanyu on Sunday November 01, 2020 @12:10PM (#24960858)
Agree. I would never attempt to write flow control that had different cases for handling undefined and null. It feels so extremely brittle