Intermediate terms
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
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
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
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
Test Coverage Types
PHP 7.0+
Line coverage (lines executed), branch coverage (if/else paths), mutation testing (do tests detect actual bugs) — each measures a different aspect of test quality.
3mo ago
testing intermediate
Test Environment Parity
Dev, staging, and production must use identical PHP versions, MySQL versions, and OS configurations — divergence causes bugs that only appear in production.
3mo ago
testing intermediate
Time-Series Databases
PHP 5.0+
Databases optimised for storing and querying time-stamped data — metrics, events, sensor readings — with efficient range queries, downsampling, and data retention policies.
3mo ago
database intermediate
Touch Events & Pointer Events
ES2015
Handling touch input on mobile — the Pointer Events API unifies mouse, touch, and stylus into one event model, replacing the need for separate touch and mouse event handlers.
3mo ago
mobile intermediate
Transaction Script Pattern
A pattern where each business operation is a single procedure — simple, linear, and appropriate for straightforward workflows without complex domain logic.
3mo ago
quality intermediate
Translation Management
PHP 5.0+
1
Organising, extracting, and synchronising translatable strings — gettext .po/.mo files, ICU MessageFormat, and tools like Weblate or Crowdin for translator workflows.
3mo ago
i18n intermediate
TypeScript Enums vs Const Enums vs Union Types
2.0
3
Three ways to define a set of named constants in TypeScript — regular enums emit JavaScript, const enums are inlined at compile time, and union types are the idiomatic zero-cost alternative.
3mo ago
typescript intermediate
TypeScript Modules & Namespaces
2.0
2
ES modules (import/export) are the modern standard — namespaces are legacy for global scripts and ambient declarations only.
3mo ago
typescript intermediate
TypeScript vs PHP Type System
4.0
TypeScript uses structural typing (shape compatibility); PHP uses nominal typing (explicit implements). TypeScript infers types; PHP requires annotations. Both support generics (PHP via PHPDoc).
3mo ago
typescript intermediate
The four-layer model (Link, Internet, Transport, Application) that describes how data is packaged, routed, and delivered across the internet.
3mo ago
networking intermediate