News for hackers. Stuff that matters.
Re:A Conversation with Language Creators: Guido, James, Ande... by millstone on Thursday April 04, 2019 @04:10AM (#19570192)
How do you express the idea of null when the language doesn't have null and the runtime environment can diverge from its static model over a period of years or decades?

If your program typechecked against Netscape Navigator in 1997, does that prove that it will run without type errors in AwesomeNewBrowser 2023?

IMO null/undefined/etc are reasonable fallbacks if your runtime environment can radically diverge from its static model.

Re:A Conversation with Language Creators: Guido, James, Ande... by fulafel on Thursday April 04, 2019 @07:21AM (#19570912)
If we pretend Elm existed in 97, I think things would have worked out ok in this respect.
Re:A Conversation with Language Creators: Guido, James, Ande... by specialist on Thursday April 04, 2019 @09:49PM (#19578939)
I favor Null Objects. It's a minority viewpoint.

https://en.wikipedia.org/wiki/Null_object_pattern