← Home ← Codex ← DEBT ← Engine
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
Loop Style Preferences PHP 7.4+
Choose the clearest loop construct for the job: foreach for collections, for with index when position matters, while for condition-driven iteration.
4mo ago Style beginner
Linux File Permissions 🧠 1
Read, write, and execute permissions assigned to owner, group, and others — the foundation of Linux access control for web application files.
CWE-732 OWASP A5:2021
6mo ago Linux beginner 7.5
Log Levels & When to Use Each
Log levels (DEBUG, INFO, WARNING, ERROR, CRITICAL) communicate severity — use the right level so alerts fire on real issues and noise doesn't mask real problems.
6mo ago Observability beginner
Lazy Loading Images
Deferring off-screen image downloads with loading="lazy" — improves initial page load and LCP by only fetching images as they approach the viewport.
6mo ago Frontend beginner
Lines Too Long
Lines exceeding 120 characters force horizontal scrolling and break side-by-side diff views — PSR-12 recommends a soft limit of 120 and hard limit of no limit, but team conventions often enforce 120.
6mo ago Style beginner
Linux Package Managers
apt (Debian/Ubuntu), yum/dnf (RHEL/CentOS/Fedora), apk (Alpine) — tools for installing, updating, and managing system software packages and their dependencies.
6mo ago Linux beginner
Large Class
A class that has grown to accumulate too many responsibilities, fields, and methods — a sign it should be split into focused, cohesive classes.
6mo ago Code Quality beginner
Lazy Class
A class that doesn't do enough to justify its existence — the cost of understanding it exceeds the value it provides.
6mo ago Code Quality beginner
Lines of Code (LOC) as a Metric
The simplest size metric — useful for normalising other metrics and tracking growth, but a poor quality indicator when used in isolation.
6mo ago Code Quality beginner
Diagram: Linked List Linked List PHP 5.3+ 🧠 2
A linear data structure where elements (nodes) store a value and a pointer to the next node, enabling O(1) insertion and deletion at known positions.
6mo ago Data Structures beginner
Linux File System Hierarchy 🧠 1
The standard directory structure of Linux — /etc for config, /var for variable data, /tmp for temporary files, /usr for user programs — knowing it prevents misplacing files.
6mo ago Linux beginner
List Comprehensions & Generator Expressions Python 2.0+
Compact syntax for creating lists — [x*2 for x in range(10) if x%2==0] — and lazy generators that avoid materialising the full sequence.
6mo ago Python beginner
list() / Short Array Destructuring PHP 5.5+ 🧠 1
Assigns array elements to variables in a single expression — list($a, $b) or the shorthand [$a, $b] = $array.
6mo ago PHP beginner
Long Method PHP 5.0+ 🧠 1
A function or method that is too long to understand in one reading — typically 20+ lines is a signal to split.
6mo ago Code Quality beginner
Long Parameter List
A function or method with too many parameters — typically 4+ — making calls hard to read and easy to get wrong.
6mo ago Code Quality beginner
Lazy Loading HTML5
Defer loading or initialising a resource until it is actually needed, reducing startup cost and memory usage.
7mo ago Performance beginner
✓ schema.org compliant