Chapter 4. Using Operators and Expressions

This chapter introduces two of the unsung heroes of nearly every computer language: operators and expressions. Contrary to some reports, operators aren’t people who control mechanical equipment. Instead, they’re special symbols or words that specify an operation or an action that you want to occur between two or more values. Addition signs and subtraction signs are some of the most common operators, but there are many more. This chapter will get you up to speed. Expressions, likewise, aren’t something you practice in the mirror before a date or a job interview. In programming languages such as Microsoft Visual Basic .NET, they’re combinations of operators and values that the computer can evaluate. For ...

Get Faster Smarter Beginning Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.