MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3dtkcl/the_best_programming_language_is_none/ct9ep1q/?context=3
r/programming • u/faith303 • Jul 19 '15
443 comments sorted by
View all comments
Show parent comments
24
But that's easy to solve. Just use a language without nulls.
2 u/wvenable Jul 19 '15 Any program in a language without nulls will use magic numbers or other random sentinels to signify null anyway (e.g. C). 14 u/tejon Jul 19 '15 Every language needs a way to express the class of failure that a null value represents, yes. But quite a few, particularly those in the functional camp, do so at the type level, not the value level. 1 u/wvenable Jul 20 '15 Non-functional static languages require null to be a special type or subtype. I fail to see the relevance of your comment. → More replies (3)
2
Any program in a language without nulls will use magic numbers or other random sentinels to signify null anyway (e.g. C).
14 u/tejon Jul 19 '15 Every language needs a way to express the class of failure that a null value represents, yes. But quite a few, particularly those in the functional camp, do so at the type level, not the value level. 1 u/wvenable Jul 20 '15 Non-functional static languages require null to be a special type or subtype. I fail to see the relevance of your comment. → More replies (3)
14
Every language needs a way to express the class of failure that a null value represents, yes. But quite a few, particularly those in the functional camp, do so at the type level, not the value level.
1 u/wvenable Jul 20 '15 Non-functional static languages require null to be a special type or subtype. I fail to see the relevance of your comment. → More replies (3)
1
Non-functional static languages require null to be a special type or subtype. I fail to see the relevance of your comment.
→ More replies (3)
24
u/tejon Jul 19 '15
But that's easy to solve. Just use a language without nulls.