News for hackers. Stuff that matters.
Re:Sky – an Elm-inspired language that compiles to Go by flossly on Tuesday April 07, 2026 @05:01AM (#47672464)
Adding `null` to C was very simple to add. It added a lot of complexity that the language designer did not see coming (hence the billion dollar mistake he made on that).
Re:Sky – an Elm-inspired language that compiles to Go by phplovesong on Tuesday April 07, 2026 @08:30AM (#47674271)
`NULL` was originally added to ALGOL back in 1965. C was not even a thing back then. It was obviously a bad choice to port NULL to C, one that ADTs would have perfectly modeled, without the billion dollar cost.

In fact C was built sometime around the early 70s, and at the same time the first MLs where also being developed. One added null, while the other added a better mechanism for "nothingness".

Bottom line is you cant compare "adding null" and adding a feature that is over 50 years old, one that is battle-tested thru generations, and still holds up.

Solid maths does no suffer bitrot.

Re:Sky – an Elm-inspired language that compiles to Go by flossly on Tuesday April 07, 2026 @08:41AM (#47674399)