← 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
Diagram: Twelve-Factor App Twelve-Factor App PHP 5.0+ 🧠 2
A methodology for building scalable, maintainable SaaS applications using twelve best practices for configuration, processes, and services.
3mo ago architecture intermediate
Diagram: Two-Pointer Technique Two-Pointer Technique
An algorithmic pattern using two indices that move through a sorted array to find pairs or subarrays satisfying a condition in O(n) instead of O(n²).
3mo ago algorithms intermediate
Type Coercion PHP 7.0+
PHP's automatic conversion between types can produce unexpected comparison results, leading to logic bugs and security bypasses.
CWE-704 OWASP A3:2021
3mo ago php intermediate 8.1
Type Declarations Overview PHP 7.0+ 🧠 1
PHP's full type system: scalar types, return types, union types, intersection types, nullable, never, and mixed — all enforced at runtime.
3mo ago php intermediate
Type Juggling PHP 5.0+ 🧠 1
PHP's loose comparison (==) can produce unexpected results — "0e123" == "0e456" is true, enabling auth bypasses.
CWE-704 OWASP A3:2021
3mo ago security intermediate 8.1
Type Safety in PHP (strict_types & Static Analysis) PHP 7.4+ 🧠 3
Combining strict_types=1, typed properties, return types, union types, and PHPStan/Psalm to catch type errors at analysis time rather than runtime.
3mo ago quality intermediate
Types of Technical Debt
Technical debt is not uniform — deliberate vs inadvertent, reckless vs prudent quadrants define the nature of debt and the appropriate response to each type.
3mo ago quality intermediate
Diagram: TypeScript Interfaces vs Type Aliases TypeScript Interfaces vs Type Aliases 2.0
Both define object shapes, but interfaces are open (mergeable via declaration merging) while type aliases are closed — types are more flexible for unions and computed types.
3mo ago typescript intermediate
TypeScript Strict Mode 2.3
A tsconfig flag that enables the strictest type-checking options — strictNullChecks, noImplicitAny, and others — catching the most common TypeScript pitfalls.
3mo ago typescript intermediate
TypeScript Type System 2.0 🧠 7
TypeScript adds static types to JavaScript — catching type errors at compile time rather than runtime, while remaining a superset that compiles to plain JavaScript.
3mo ago typescript intermediate
Diagram: TypeScript Utility Types TypeScript Utility Types 2.1 🧠 4
Built-in generic types that transform existing types — Partial, Required, Pick, Omit, Record, Readonly, ReturnType — eliminating the need to manually duplicate type definitions.
3mo ago typescript intermediate
✓ schema.org compliant