3 ms·
https://news.ycombinator.com/item?id=22210073 https://news.ycombinator.com/item?id=22210073 From the HN discussion about the video of "A Conversation with Lang
by DonHopkins 5y ago
https://news.ycombinator.com/item?id=22210073 https://news.ycombinator.com/item?id=22210073
From the HN discussion about the video of "A Conversation with Language Creators: Guido, James, Anders and Larry"
https://news.ycombinator.com/item?id=19568378 https://news.ycombinator.com/item?id=19568378
https://www.youtube.com/watch?v=csL8DLXGNlU https://www.youtube.com/watch?v=csL8DLXGNlU
I posted these Anders Hejlsberg quotes, who co-designed TypeScript, C#, Delphi, Turbo Pascal, etc:
https://news.ycombinator.com/item?id=19568378 https://news.ycombinator.com/item?id=19568378
>"My favorite is always the billion dollar mistake of having null in the language. And since JavaScript has both null and undefined, it's the two billion dollar mistake." -Anders Hejlsberg
>"It is by far the most problematic part of language design. And it's a single value that -- ha ha ha ha -- that if only that wasn't there, imagine all the problems we wouldn't have, right? If type systems were designed that way. And some type systems are, and some type systems are getting there, but boy, trying to retrofit that on top of a type system that has null in the first place is quite an undertaking." -Anders Hejlsberg
[...]
- scns 5y agoI like what Anders Hejlsberg says here, but still wonder why he is not pushing for F# adoption/funding/tooling etc. I'm in no position to judge such an accomplished language designer in any way, just curious. Is it ego? NIH? Or that other thing (Whose name someone else can surely provide) about not being able to see the solution if your salary depends on the problem.
- marcosdumay 5y agoIt's almost unanimous that the general "null" from C is a very bad idea.
- scns 5y agoI know. C.A.R. Hoare who invented null, called it his Billion Dollar Mistake. https://en.wikipedia.org/wiki/Tony_Hoare?wprov=sfla1 https://en.wikipedia.org/wiki/Tony_Hoare?wprov=sfla1
- DonHopkins 5y agoA bad bet which, as Anders Hejlsberg rightly pointed out, JavaScript doubled down on.
- kungito 5y agoIs he in any way related to F#? I feel like he is completely focused on Typescript with C# slowing down with features and F# and VBasic are pretty much in maintenance mode
- scns 5y agoHe is not, that's why i hinted at Not Invented Here.
- deleted 5y ago[deleted]