- Joined
- 4 Jun 2021
- Messages
- 5,759 (4.49/day)
Here's one for NerdZone's budding programmers.
I found the null data type very useful for things like error trapping and bounds checking when I did programming, so it seems strange to remove it. However, it seems to have caused more trouble than it was worth according to this Register article, which goes into detail.
How do you feel about null in your programming language of choice and its removal in Dart?
I found the null data type very useful for things like error trapping and bounds checking when I did programming, so it seems strange to remove it. However, it seems to have caused more trouble than it was worth according to this Register article, which goes into detail.
How do you feel about null in your programming language of choice and its removal in Dart?
When the third major release of the Dart programming language debuts in mid-2023, null values will no longer be allowed where they're not expected.
Null in this context is an assignment value indicating the absence of a value or referenced object. Null references date back to around 1964 when British computer scientist Tony Hoare introduced the concept in the ALGOL family of languages. He considered them his "billion dollar mistake" for the amount of time and money they've cost in error repairs – an issue to this day.
Google's Dart language soon won't take null for an answer
Unavoidable variable safety coming in version 3
www.theregister.com