News for hackers. Stuff that matters.
Re:So many bad takes. Learn from the Prime Video microservic... by iLoveOncall on Sunday May 07, 2023 @05:37PM (#35855854)
Go have your talk [1]. But that's a pretty weak argument given that:

1. Other languages also do not have this distinction (Python for example AFAIK),

2. It's relatively useless. I get the value of it in JavaScript which has a lot of asynchronous code and frontend where the behavior may indeed be very different between null and undefined, but in a server-side application I don't think the nuance is necessary at runtime, and potential programming mistakes involving that can be caught by a linter.

[1] https://stackoverflow.com/questions/6905491/how-to-tell-whet...

There are no comments on this comment yet.