Languages โ Programming Language Fundamentals
Status: Active Last Updated: 2026-08-29 Category: Programming Languages Prerequisites: kb/basics/ โ Linux fundamentals, command-line basics, text editing Tags: typescript, python, rust, go, cpp, php, languages, programming
Summary
Language-level fundamentals for the languages used in this stack and beyond. Each language guide covers syntax, tooling, ecosystem, and when to reach for that language. Assumes no prior knowledge of the specific language โ only general programming concepts from programming-fundamentals.
๐ฏ Learning Philosophy
Match the Tool to the Job:
Project uses: Bun (JavaScript/TypeScript runtime)
AI/ML work: Python (ecosystem, libraries)
Systems: Rust or Go (performance, safety)
Integration: PHP (legacy, WordPress, quick scripts)
๐ Learning Path
Prerequisites: kb/basics/ + programming-fundamentals
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE 1: TypeScript / JavaScript โ
โ โโ TypeScript fundamentals โ
โ โโ Types, interfaces, generics โ
โ โโ Tooling (tsc, tsconfig) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE 2: Python โ
โ โโ Python fundamentals โ
โ โโ venv, pip, virtual environments โ
โ โโ Common stdlib + ecosystem โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE 3: Go โ
โ โโ Go fundamentals โ
โ โโ Goroutines, channels, modules โ
โ โโ go toolchain โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE 4: Rust โ
โ โโ Rust fundamentals โ
โ โโ Ownership, borrowing, lifetimes โ
โ โโ Cargo, crates โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE 5: C++ โ
โ โโ C++ fundamentals โ
โ โโ Memory, pointers, build systems โ
โ โโ CMake / make โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE 6: PHP โ
โ โโ PHP fundamentals โ
โ โโ Composer, modern PHP features โ
โ โโ When to use PHP โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Articles in This Directory
๐ข Phase 1: TypeScript / JavaScript
- typescript-basics โ TypeScript from the ground up
- Types, interfaces, generics, keyof, infer
- tsconfig options and what they mean
- Type narrowing and guards
- Prerequisites: Basic programming concepts, JavaScript familiarity
- Time: 4-6 hours
๐ก Phase 2: Python
- python-basics โ Python fundamentals for scripting and AI work
- Syntax, data structures, functions, classes
- venv, pip, requirements.txt
- Common stdlib modules (pathlib, json, subprocess)
- Prerequisites: Basic programming concepts
- Time: 4-6 hours
๐ก Phase 3: Go
- go-basics โ Go fundamentals
- Syntax, slices, maps, structs, interfaces
- Goroutines and channels
- go mod, go test, go toolchain
- Prerequisites: Basic programming concepts
- Time: 4-6 hours
๐ Phase 4: Rust
- rust-basics โ Rust for systems programming
- Ownership, borrowing, lifetimes
- Pattern matching, Option/Result
- Cargo, crates.io, build.rs
- Prerequisites: Basic programming + understanding of memory concepts
- Time: 6-10 hours
๐ด Phase 5: C++
- cpp-basics โ C++ fundamentals
- Memory model, pointers, references
- Classes, templates, STL
- CMake, make, build systems
- Prerequisites: Memory concepts, compiled language basics
- Time: 8-12 hours
๐ด Phase 6: PHP
- php-basics โ Modern PHP
- PHP 8+ features, composer
- Namespaces, traits, attributes
- When PHP makes sense vs alternatives
- Prerequisites: Basic programming concepts
- Time: 2-4 hours
๐ What Comes Next?
After a language fundamentals article:
- kb/runtime/ โ How Bun/Node execute JavaScript/TypeScript
- kb/backend/ โ Building servers with those languages
- kb/containers/ โ Packaging language apps in containers
๐ Change Log
2026-08-29
- Created languages/ directory scaffold
- Defined 6-phase learning path
- Established template from containers/ pattern