– Write source code on Windows, Mac, Linux, or Unix systems.
– Make sense of programming jargon and buzzwords.
– Understand compiled and interpreted languages.
– Compare how code is written in different languages.
– Work with numbers, strings, booleans, and other types of data.
– Get input from the user.
– Explore conditions, loops, variables, and expressions.
– Control the structure and the flow of a program.
– Use assignment, arithmetic, comparison, and logical operators.
– Create and call functions.
– Organize your code into independent modules.
– Work with arrays and collections.
– Adopt a programming style.
– Read from and write to files.
– Avoid common syntax and logic errors.
– Debug your programs.
– Use classes, objects, properties, and methods.
– Link to libraries of ready-to-run code.
– Explore memory management, algorithms, multithreading, and other advanced topics.
1. Programming Basics
2. Writing Your First Program
3. Variables & Data Types
4. Conditional Code
6. More About Strings
8. Programming Style & Pseudocode
9. Input & Output
10. Errors & Debugging
12. Advanced Topics
13. Next Steps
About the Author
Chris Kennedy is a statistical programmer and technical writer based in Boulder, Colorado. When he’s not typing, Chris climbs rocks, revises his screenplays, and reads the journals of polar explorers. He’s been programming and writing about programming for more than twenty years.