← 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
Traces & Spans PHP 7.0+
The building blocks of distributed tracing — a trace represents a complete request journey across services, composed of spans that each record one operation with its start time, duration, and parent–child relationship.
3mo ago observability intermediate
Traits — Horizontal Reuse (PHP 5.4) PHP 5.4+
PHP 5.4 traits enable horizontal code reuse — mixins for PHP classes that can't use multiple inheritance. Use sparingly; prefer composition over trait overuse.
3mo ago php intermediate
Transactional Outbox Pattern
The Outbox pattern atomically saves domain events to an 'outbox' DB table in the same transaction as business data — a relay then publishes to the message broker, preventing lost events.
3mo ago messaging advanced
Typeahead & Autocomplete PHP 7.0+ 🧠 1
Search suggestions shown as the user types — requiring prefix matching, typo tolerance, and sub-100ms response times to feel native, implemented via dedicated index structures or edge completion APIs.
3mo ago search intermediate
Typed Class Constants (PHP 8.3) PHP 8.3+
PHP 8.3 allows class, interface, and enum constants to declare an explicit type, catching type mismatches at definition time rather than at runtime when the constant is used.
3mo ago php intermediate
Typed Properties (PHP 7.4) PHP 7.4+
PHP 7.4 typed properties add type declarations to class properties — public string $name — preventing type mismatches and enabling full static analysis of object state.
3mo ago php intermediate
Types of Code Duplication (Clone vs Semantic)
Not all duplication is equal — clone duplication (copy-paste) always warrants extraction, but semantic duplication (similar logic, different context) may be acceptable.
3mo ago quality intermediate
TypeScript Function Overloads
TypeScript function overloads allow a single function to accept different argument shapes and return different types based on which overload signature matches — providing precise type checking that union types alone cannot express.
3mo ago typescript intermediate
Template Literal Types 4.1
TypeScript template literal types combine string literals with type interpolation — type EventName = `on${Capitalize<string>}` — enabling precise string-pattern type constraints.
3mo ago typescript advanced
Temporal Dead Zone (TDZ) ES2015
let and const variables exist in a Temporal Dead Zone from the start of their block until their declaration — accessing them before throws ReferenceError.
3mo ago javascript intermediate
Type Coercion Gotchas (== vs ===) ES5
JavaScript's == performs type coercion producing surprising results — '0' == false (true), [] == false (true), null == undefined (true) — use === always.
3mo ago javascript intermediate
Type Coercion in Authentication Checks PHP 4.0+
PHP's loose comparison (==) coerces types — '0e123' == '0e456' (both 0 in scientific notation), and 0 == 'admin' — always use === for authentication comparisons.
3mo ago security advanced
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
TypeError — When Type Declarations Throw PHP 7.0+
TypeError is thrown when a value passed to a typed parameter or return type doesn't match — strict_types=1 makes this happen at call sites too.
3mo ago php intermediate
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
Table Module Pattern
One class per database table handling all logic — a pragmatic middle ground between Transaction Script and full Domain Model.
3mo ago quality intermediate
Tagged Template Literals ES2015
A function prefix on a template literal — the tag function receives the string parts and interpolated values separately, enabling safe SQL, HTML, CSS, and i18n string construction.
3mo ago javascript intermediate
TCP vs UDP
TCP provides reliable ordered delivery with connection setup overhead. UDP is connectionless and faster but unreliable — choose based on whether loss or latency is more acceptable.
3mo ago networking intermediate
Technical Roadmap Planning
Planning future technical investments framed as business outcomes — making technical work visible alongside product features.
3mo ago general intermediate
✓ schema.org compliant