Skip to content
Velloreth

#refactoring

Posts tagged with “refactoring”.

7 posts

01

DRY, KISS and YAGNI: Three Principles, One Goal

DRY, KISS and YAGNI are three heuristics for simpler code. Learn what each really means, how they conflict, and how to apply them sensibly.

02

Naming Conventions: How to Name Things in Code

Good names make code readable without comments. Learn the conventions for variables, functions, classes and files, and the habits that produce them.

03

Refactoring Basics: Improving Code Without Breaking It

Refactoring changes code structure without changing behaviour. Learn the core techniques, how to stay safe, and when to refactor.

04

The Strategy Pattern Explained With Practical Examples

The strategy pattern swaps algorithms at runtime behind a common interface. Learn how it works, when it beats conditionals, and its trade-offs.

05

Test-Driven Development: A Practical Introduction

TDD is a short red-green-refactor cycle that shapes design as much as it verifies code. Learn the loop, the benefits, and the common objections.

06

Writing Clean Functions: Small, Focused, Testable

Clean functions do one thing, have clear names, and few parameters. Learn the rules, the trade-offs, and how to refactor messy functions.

07

Technical Debt: How to Talk About It and Pay It Down

Technical debt in practice: what counts as debt, how to translate it into delivery risk non-engineers understand, and how to pay it down without a rewrite.