Comment on 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate

takeda@lemmy.world ⁨10⁩ ⁨months⁩ ago

I’m Bill I don’t comment my code (except complex parts), instead I try to make code clear, including using proper variable and function names and try to keep functions short. I don’t think I ever got lost in my own code in my 20+ years of experience. Even got complements about it.

The programming language is meant for humans to read/write, if you need to put comments to understand your code then your code sucks.

source
Sort:hotnewtop