← Home ← Codex ← DEBT
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Technical Writing for Developers
The craft of writing documentation, READMEs, design docs, RFCs, and comments clearly enough that another engineer can act on them without asking you — a force multiplier that most developers undertrain.
2mo ago general beginner
Temperature & Sampling in LLMs
Temperature controls how random an LLM's output is — low values (0–0.3) produce predictable, conservative responses; high values (0.7–1.0) produce creative but less reliable outputs.
3mo ago ai_ml beginner
toSorted / toReversed / with — Immutable Array Methods ES2023
JavaScript ES2023 adds immutable counterparts to mutating array methods: toSorted() returns a sorted copy, toReversed() returns a reversed copy, and with(index, value) returns a copy with one element replaced — none mutate the original array.
3mo ago javascript beginner
TypeError — Common Causes and Fixes ES5
TypeError is thrown when a value is not of the expected type — most commonly 'Cannot read properties of undefined/null', the most frequent JavaScript runtime error.
3mo ago javascript beginner
typeof Checks and the null Quirk ES5
typeof returns a string describing the type — but typeof null === 'object' is a famous historical bug that cannot be fixed without breaking the web, requiring explicit null checks alongside typeof.
3mo ago javascript beginner
Template Literals ES2015
Backtick strings with ${expression} interpolation — the JavaScript equivalent of PHP's double-quoted strings and heredoc.
3mo ago javascript beginner
Test Naming Conventions
Well-named tests read as specifications — they document what the system does, make failure messages self-explanatory, and allow filtering tests by feature or scenario.
3mo ago testing beginner
Diagram: Test Pyramid Test Pyramid PHP 5.0+ 🧠 5
A model advocating many fast unit tests at the base, fewer integration tests in the middle, and a small number of slow E2E tests at the top.
3mo ago testing beginner
Trailing Whitespace
Spaces or tabs at the end of a line — invisible but pollutes diffs and can cause subtle PHP issues.
3mo ago style beginner
Diagram: Two-Factor Authentication (2FA) Two-Factor Authentication (2FA) PHP 7.0+
Requiring a second verification factor (OTP, hardware key) in addition to a password dramatically reduces account takeover risk.
OWASP A7:2021
3mo ago security beginner
Type Casting in PHP PHP 5.0+
Explicitly converting a value to another type using (int), (string), (array), (object) casts or intval(), strval() functions.
3mo ago php beginner
✓ schema.org compliant