Objectives
The chaos that poorly named variables can induce
How to do variable declaration in a confusing way
Why being lax with the scope of variables causes problems
How to abuse the type system of a language
The power of null to cause trouble
Prerequisites
Before reading this chapter, make sure you’re familiar with basic types, like integers, strings, and collections.
Introduction
Where would programmers be without variables? Without them, there would be no way to record and keep track of information as a program goes about its business.
As variables are such a fundamental ...