Code Quality & Workflow
Formatting, minification, diffs, regular expressions and SQL style: everyday techniques that make code easier to read, review and ship.
6 articles
- Code Quality & Workflow
What Does Minification Actually Do? JavaScript, CSS and HTML Explained
What JavaScript, CSS and HTML minifiers really change, with before-and-after output, real size measurements, minification vs gzip, and what can break.
· 6 min read
- Code Quality & Workflow
SQL Formatting Best Practices: Writing Queries Your Team Can Read
A practical SQL style guide: clause-per-line layout, keyword case, aliases, CTEs instead of nesting, and the logic bugs that clear formatting helps you spot.
· 6 min read
- Code Quality & Workflow
Prettier for PHP: Format PHP Code with @prettier/plugin-php
How to use Prettier for PHP: install @prettier/plugin-php, set up .prettierrc, choose braceStyle and phpVersion, format on save and check PHP formatting in CI.
· 7 min read
- Code Quality & Workflow
Why Code Formatting Matters: Setting Up Prettier for Your Team
Why consistent formatting speeds up reviews, how Prettier works, and a team setup: config, format on save, CI, ESLint and reformatting a codebase safely.
· 5 min read
- Code Quality & Workflow
How to Read a Diff: The Unified Diff Format Explained
Understand every line of a unified diff: file headers, @@ hunk headers, context lines and + and - changes, plus git diff extras, patches and code reviews.
· 6 min read
- Code Quality & Workflow
Regular Expressions for Developers: 12 Patterns You'll Actually Use
Tested regular expressions for emails, dates, UUIDs, versions and logs, plus groups, lookaheads, greedy vs lazy matching and catastrophic backtracking.
· 6 min read