Null references or: How I Learned to Stop Worrying and Love Scala Options

“I call it my billion-dollar mistake. It was the invention of the null reference in 1965” — Tony Hoare, 2009

For many software developers, the null reference is something they encounter very early in their careers, and continues to haunt them for the rest of their lives. In simple terms, a null reference is when an object is declared but not assigned a value. A situation like the one below could potentially throw what’s called a NullPointerException

Hootsuite's Engineering Blog

Recommended from Medium

Mutable and Immutable Objects in Python

Introduction to Big O Notation

NovaX Analytics, Recap, Announcements

Laravel and Symfony: everything about these 2 PHP frameworks, and how to choose the right one for…

[ANN] Change in the amount of Jini Coupon

Python Cookbook, 3rd Edition, O’REILLY — download

LeetCode — 739. Daily Temperatures (Medium)

Selling Your Indie Software Online

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
James Yoo

James Yoo

Co-op software developer at Hootsuite on the Engage team

More from Medium

LeetCode Problem#1051 Height Checker

Why Clojure?

Introduction of MongoDB Scala Driver

MongoDB Database and Collection with Custom Type

Scaling your team with junior developers is more important than ever.

junior developers