Search
Lessons (9)
- DRY: Don't Repeat Yourself
… one source of truth instead of many copies that drift apart](/img/clean-code/dry.svg) DRY = Don …
- YAGNI: You Aren't Gonna Need It
… can adapt when it arrives. YAGNI, KISS and DRY together mermaid flowchart TB Y["YAGNI<br/ Build only …
- What Is Clean Code?
… Small Do one thing Rules of thumb KISS DRY YAGNI Errors Fail loudly No silent catch Structure Code …
- TypeScript Essentials
… so there's one source of truth (remember DRY ). ts import { z } from "zod"; const UserSchema = z.object …
- Nginx Reverse Proxy & HTTPS
… HTTP to HTTPS (say yes) sudo certbot renew --dry-run test auto-renewal systemctl list-timers grep certbot …
- Monitoring, Logs & Backups
… it: sudo logrotate -d /etc/logrotate.d/myapp (dry run). Centralized logs (when you have several servers) Ship …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… its status, tries and errors. The dry cleaner's logbook. Queue / broker A waiting line that hands work …
- Resilient Service Calls: Retries, Breakers and Load Shedding
… one floods, the others stay dry. Load shedding Saying "no" to less important work early, on purpose. A …
- Linux Troubleshooting Playbook & Interview Questions
… expired bash sudo certbot certificates sudo certbot renew --dry-run why doesn't renewal work? (port 80 blocked …