Dumb Rules I Follow To Write Readable Code

Touhid Rahman
Stackademic
Published in
4 min readOct 31, 2023

--

Writing code is hard, writing human readable code is super-hard. Over the years I established some seemingly silly rules, but they help me write readable code.

1. The 100:80:20 Rule

This is by far the most favorite rule of mine. This rule says, no file should contain more than 100 lines. I am primarily an Angular / Node.js developer. When writing…

--

--