I don’t know how professional developers do it. My head starts spinning as soon as my files or functions go more than 2 or 3 layers deep.
Comment on The longer I'm alive, the more I feel that people make things complicated to feel important.
SpaceNoodle@lemmy.world 19 hours ago
Try reading “Enterprise Level” code
It’s factories all the way down
otacon239@lemmy.world 19 hours ago
SpaceNoodle@lemmy.world 19 hours ago
Proper abstractions should make code more legible, not less. Sadly, most of the code I read both professionally and for fun does not follow this practice.
Code is for other humans to read. The fact that it can compile into something runnable on a computer is secondary.
Zikeji@programming.dev 19 hours ago
I like to tell my juniors “readable code is maintainable code”. 9 out of 10 times a comment could instead just be choosing better names.
Onomatopoeia@lemmy.cafe 18 hours ago
Funny someone downvoted you - clearly they’ve never dealt with something un- or poorly documented.
SpaceNoodle@lemmy.world 18 hours ago
Oh, that’s just some cunt null@piefed.nullspace.lol who stalks me and downvotes all of my comments.
bamboo@lemmy.blahaj.zone 19 hours ago
see: FizzBuzz Enterprise Edition