616
submitted 3 months ago by Sibbo@sopuli.xyz to c/programmerhumor@lemmy.ml

Those who know, know.

you are viewing a single comment's thread
view the rest of the comments
[-] EnderMB@lemmy.world 17 points 3 months ago

Working in Ruby did 10x more to help me write clean code than reading Clean Code ever did.

Many of the lessons drilled into me with Ruby (keep a consistent style, tests are cheap, keep your methods relatively small where possible, reduce nesting where possible) carry over nicely into other languages without needing to go through any OO bullshit.

IMO, the best lesson around Clean Code is this: you're not clever, write obvious code that works with as few tricks as possible.

[-] shy_mia@lemmy.blahaj.zone 5 points 3 months ago

I find this to be true for every new language I try out. Since every language has a different way of doing things and gives me a new perspective, in the long run they all end up improving my programming style as a whole. I always end up integrating the best parts of each into my next project when possible.

Experience will always be more valuable than any set of rules these kind of books tout as "the way things are meant to be done".

this post was submitted on 09 Aug 2024
616 points (98.0% liked)

Programmer Humor

32476 readers
609 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS