Skip to main content
Question Protected by gnat
Tweeted twitter.com/#!/StackProgrammer/status/72771967081660416
edited title
Link
Adam Lear
  • 32.1k
  • 8
  • 104
  • 126

Null Why are null references and PL nerd rageshunned while throwing exceptions is considered okay?

Source Link
user7146
user7146

Null references and PL nerd rage

I don't quite understand the consistent bashing of null references by some programming language folks. What's so bad about them? If I request read access to a file that doesn't exist then I'm perfectly happy to get an exception or a null reference and yet exceptions are considered good but null references are considered bad. What's the reasoning behind this?