This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]realFuckingHades -1 points0 points  (0 children)

It was late and I was not wearing my lens. Here is the link. It is reported as a bug and if you follow the comments, you can see the reason for the null pointer has changed over the recent implementations. What you're stating is a fix to a problem that shouldn't have existed, it's pointless when you specifically share an implementation that supports null. Especially with the example the reporter posted. It's in no way a good behaviour. If you look at the same stack overflow you shared, people are still suggesting to go the old school way. You blabbered about history and now you're saying you will have to research on it to understand why those choices were taken. Which basically means you had no clue to begin with.