Building Your Dream Car with Operands
When you speak or write in a human language, you typically string together nouns and verbs to create action. You might then spice things up with adjectives, adverbs, pronouns, conjunctions, prepositions, and interjections. However, the real work of a sentence is done by the nouns and verbs.
Knowing Your Operands
When we say that an expression “resolves to a value,” what we mean is that when everything the computer needs to do is done, some sort of value is produced. For example,
- The expression 1 + 1 “resolves to” 2. Another way to say the same thing is that it has the value of 2.
- The expression x = 7 is a different kind of expression. It assigns its value (7) to the variable called x.
In this chapter, we show you how to create and ...