r/csharp • • Jun 27 '16

Null reference exceptions hell

http://dobegin.com/npe-hell/
0 Upvotes

12 comments sorted by

View all comments

2

u/oftheterra Jun 27 '16

Ok, so rather than just snarkily commenting - "yup, null pointers exists..." which was my first thought, I'll instead recommend this:

  • Explain in your intro the purpose of the blog entry - at first glance it seems like you are just stating "null pointers exists in most modern languages" which pretty much any programmer already knows

  • Line up in the intro what a reader can expect to see - starting with examples/comparisons of how they look and function between languages, then ways to mitigate them, and perhaps a section on how languages which don't use them work

  • Expand a little bit more on the solutions section - maybe pointing towards things such as "Gaurd" libraries or Code Contracts

0

u/[deleted] Jun 27 '16

[deleted]

2

u/oftheterra Jun 27 '16

I think you meant to reply to the author - unless you intended to ask me about all that.

1

u/FizixMan Jun 27 '16

Yes I did, sorry about that.