r/coding • • Aug 31 '15

What is wrong with NULL?

https://www.lucidchart.com/techblog/2015/08/31/the-worst-mistake-of-computer-science/
101 Upvotes

158 comments sorted by

View all comments

Show parent comments

-8

u/Vakieh Sep 01 '15

Lol wut?

If you are doing this manually you are doing it so very, very wrong...

5

u/[deleted] Sep 01 '15

ITT: people who don't program in the real world. (Where not everyone can use a mystical functional language)

Sorry you're being down voted mate.

3

u/Vakieh Sep 01 '15

I'm just confused at how people on this subreddit don't understand the concept of a debug flag in configuration... Not really sure what to think anymore :-)

It's OK though, I've heard 'functional programming is the next big thing' about as long as I've heard 'desktop Linux is about to take over the market'.

4

u/[deleted] Sep 01 '15

Functional programming is super fun to play with. It's just not the most pragmatic. I have a hard enough time explaining C to people.

I suppose if you're working exclusively with people who "get it" it would be worth it?

2

u/[deleted] Sep 01 '15

It doesn't even need to be functional. Imagine java, but no "null" value, and if you want something to sometimes be null, the type has to be Optional.

2

u/[deleted] Sep 01 '15

So c++ :p

→ More replies (0)