NULL Is bad : Using Optional in Java 8

Oh man has the argument against using NULL come out strong in event years.

It started with the inventor of null, Tony Hoare, calling it the Billion Dollar Mistake in 2009.

And everyone has piled on since. No one likes the NullPointerException.

See this tweet, showing everyone is jumping on this bandwagon.

This blog author decided to take on this argument from a different angle, somewhat amusing, still thought-provoking:  Optional Method Parameters via @DZone




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s