A PROGRAMMING FUNDAMENTALS BOOK

One idea.
Five languages.
Zero confusion.

A field guide to the concepts every programmer relies on — variables, loops, conditionals, functions, and more — explained once in plain language, then shown side-by-side in PHP, Node.js, Go, Kotlin, and Java.

13 chapters
5 languages, side‑by‑side
60+ working code examples
WHAT'S INSIDE

Thirteen chapters, one shared foundation.

Every chapter follows the same shape: the concept explained in plain terms first, then five working examples so you can see exactly where the languages agree — and where they don't.

00PrefaceWhy the same idea in five languages
01Variables and ConstantsNaming and locking down data
02Data TypesNumbers, text, booleans, null
03OperatorsArithmetic, comparison, logic
04Conditional Statementsif / else and the ternary shortcut
05Loopsfor, while, do‑while, and range loops
06Switch StatementsMatching one value against many
07Arrays and CollectionsLists, maps, and keyed data
08FunctionsReusable logic and return values
09Comments and DocumentationWriting for the next reader
10Classes and ObjectsOOP basics, and Go's struct alternative
11Error HandlingExceptions vs. explicit error values
12Asynchronous CodeCallbacks, promises, goroutines, coroutines
Closing NotesWhat actually transfers between languages
THE SIGNATURE OF THE BOOK

The same idea, five ways.

Pick a concept below. This is exactly how each chapter is built — one idea, shown natively in every language, so the pattern underneath the syntax becomes obvious.

COVERAGE

Five languages, chosen on purpose.

Not a survey of every language — a deliberate spread across typing styles, runtimes, and eras, so the contrast actually teaches something.

PHP

Dynamically typed, server-side scripting, the workhorse of the web backend.

Node.js

Dynamically typed JavaScript, running the same language on servers and browsers.

Go

Statically typed and compiled, built by Google for simplicity and concurrency.

Kotlin

Statically typed on the JVM, a modern, safer take on Java's syntax.

Java

Statically typed and compiled to bytecode, powering enterprise software for decades.

READY WHEN YOU ARE

Stop re-learning how to think every time you switch languages.

Get the full Word edition — thirteen chapters, sixty-plus examples, and every concept broken down the same reliable way.