Programming Fundamentals

The language-agnostic core every developer needs, from binary and variables to memory, concurrency and compilers.

Beginner

  1. What is Programming?: Writing precise instructions that a computer can follow to solve a problem.
  2. How Code Runs: How source code becomes instructions a CPU executes: compilers, interpreters, bytecode and JIT.
  3. Binary and Number Systems: Bits, bytes, binary and hexadecimal, converting between bases, and why integers overflow.
  4. Variables and Assignment: Giving names to values, changing what a name refers to, and naming things well.
  5. Data Types and Values: Numbers, text, booleans, null and collections, and how languages convert between them.
  6. Control Flow: Making decisions with if/else and repeating work with for and while loops.
  7. Functions and Parameters: Packaging steps into reusable, named units that take inputs and return outputs.
  8. Basic Data Structures: Lists/arrays, dictionaries/maps, sets and tuples, and how to choose between them.
  9. Debugging Basics: Finding and fixing bugs: reading errors and stack traces, printing, breakpoints and minimal reproductions.
  10. Version Control Basics: Tracking changes with Git: repositories, commits, branches, merges, remotes and good commit messages.

Intermediate

  1. Type Systems: How languages classify values and catch mismatches: static vs dynamic, strong vs weak, inference, nominal vs structural.
  2. Value vs Reference: What actually gets copied when you assign a variable or pass an argument, and why shared objects cause aliasing bugs.
  3. Stack and Heap: The two main regions of program memory: the call stack for function frames and the heap for longer-lived data.
  4. Scope and Lifetime: Where a name is visible (scope) versus how long its value exists (lifetime), including lexical scoping, shadowing and closures.
  5. Mutability and Immutability: Data that can change in place versus data that never changes, and why immutable data makes programs easier to reason about.
  6. Object-Oriented Programming: Organising code around objects that bundle data with behaviour: classes, encapsulation, abstraction, inheritance, polymorphism and interfaces.
  7. Inheritance vs Composition: Two ways to reuse behaviour: extending a class (is-a) or holding other objects (has-a), and why composition is usually preferred.
  8. Functional Programming: Building programs from pure functions, first-class and higher-order functions, map/filter/reduce, immutability, currying and composition.
  9. Error Handling Strategies: Exceptions vs error values, checked vs unchecked errors, failing fast, and reliable cleanup with finally, defer and RAII.
  10. Testing Fundamentals: Unit, integration and end-to-end tests, the test pyramid, arrange-act-assert, test doubles, TDD and what makes a test good.
  11. Character Encoding and Unicode: How text becomes bytes: ASCII, Unicode code points, UTF-8 and UTF-16, grapheme clusters, mojibake and string length pitfalls.
  12. Floating-Point Numbers: How computers store real numbers with IEEE 754, why 0.1 + 0.2 isn't 0.3, comparing with tolerance, NaN and Infinity, and handling money.
  13. Regular Expressions: A compact pattern language for matching text: literals, character classes, quantifiers, anchors, groups, greedy vs lazy, and ReDoS.

Advanced

  1. Memory Management and Garbage Collection: How programs get memory, give it back, and how languages automate (or don't automate) that job.
  2. Pointers and References: Values that hold the location of other values, and what goes wrong when that location is invalid.
  3. Processes and Threads: How the operating system runs many programs, and many paths within one program, at the same time.
  4. Concurrency and Race Conditions: What goes wrong when several tasks touch the same data at once, and why the result depends on timing.
  5. Locks and Deadlocks: Tools that make threads take turns on shared data, and the ways they can get stuck forever.
  6. Async and Event-Driven Programming: Handling many slow operations at once by reacting to events instead of blocking while you wait.
  7. How Compilers Work: The pipeline that turns source code text into something a machine can run.
  8. Bitwise Operations: Working directly with the individual bits of an integer: masks, flags, shifts and classic tricks.
  9. Design Patterns Overview: Named, reusable solutions to recurring design problems, and when they help or just add layers.
  10. Programming Paradigms: The major styles of organizing programs, what each is good at, and how modern languages mix them.
  11. Clean Code and Refactoring: Writing code other people can read and change safely, and improving existing code without breaking it.