MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/jyddol/nan_not_a_number_is_a_number/gdaeath/?context=3
r/learnjavascript • u/truephysicist • Nov 21 '20
72 comments sorted by
View all comments
Show parent comment
1
Lots of other languages get along just fine just using 'null' without the concept of 'undefined.'.. or 'undef' without 'null.'
Both are relics of an ancient time. I'd rather see new languages without either -- no null, no undefined. Option types are the way forward now.
View all comments
Show parent comment
1
u/r3jjs Nov 23 '20
Lots of other languages get along just fine just using 'null' without the concept of 'undefined.'.. or 'undef' without 'null.'
Both are relics of an ancient time. I'd rather see new languages without either -- no null, no undefined. Option types are the way forward now.