Log in
Without logging in, you can read through the introduction, including the cover, copyright page, reading guide, and table of contents. Log in or create an account to continue to the chapters.
Log in
Table of contents
Coding from First Principles
A beginner-friendly path from writing your first program to building reliable, useful software
Read each section in order. Every title can be opened as a TheoryTrace document.
- Cover1
- Copyright2
- How to read this book3
- Introduction4
- Chapter 1: What Programming Really Is5
- Chapter 2: Setting Up Your Coding Environment6
- Chapter 3: Your First Programs7
- Chapter 4: Values, Types, and Variables8
- Chapter 5: Input, Output, and Simple Interaction9
- Chapter 6: Decisions with Conditional Logic10
- Chapter 7: Repetition with Loops11
- Chapter 8: Collections of Data12
- Chapter 9: Functions and Decomposition13
- Chapter 10: Debugging Like a Programmer14
- Chapter 11: Designing Algorithms15
- Chapter 12: Working with Text, Files, and Data16
- Chapter 13: Errors, Exceptions, and Robust Programs17
- Chapter 14: Modules, Libraries, and Documentation18
- Chapter 15: Testing Your Code19
- Chapter 16: Object-Oriented Programming Concepts20
- Chapter 17: Data Structures and Performance Basics21
- Chapter 18: Version Control with Git22
- Chapter 19: Building a Complete Command-Line Project23
- Chapter 20: Web and API Foundations24
- Chapter 21: Databases and Persistent Storage25
- Chapter 22: Building a Small Real-World Application26
- Chapter 23: Code Quality, Refactoring, and Readability27
- Chapter 24: Your Next Path as a Programmer28
- Conclusion29