Java's Building Blocks
IN THIS CHAPTER
Assigning values to things
Making things store certain types of values
Applying operators to get new values
I've driven cars in many cities, and I'm ready to present my candid reviews:
- Driving in New York City is a one-sided endeavor. A New York City driver avoids hitting another car but doesn't avoid being hit by another car. In the same way, New York pedestrians do nothing to avoid being hit. Racing into the path of an oncoming vehicle is commonplace. Anyone who doesn't behave this way is either a New Jersey driver or a tourist from the Midwest. In New York City, safety depends entirely on the car that's moving toward a potential target.
- A driver in certain parts of California will stop on a dime for a pedestrian who's about to jaywalk. Some drivers stop even before the pedestrian is aware of any intention to jaywalk.
- Boston's streets are curvy and irregular, and accurate street signs are rare. Road maps are outdated because of construction and other contingencies. So driving in Boston is highly problematic. You can't find your way around Boston unless you already know your way around Boston, and you don't know your way around ...