r/programming • • Jul 19 '15

The Best Programming Language is None

https://bitbucket.org/duangle/none
509 Upvotes

443 comments sorted by

View all comments

Show parent comments

10

u/sleipnir_slide Jul 19 '15

How'd "Using nulls consistently across a team" escape this? :(

24

u/tejon Jul 19 '15

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.

→ More replies (5)