this post was submitted on 24 Jul 2026
538 points (97.9% liked)

Programmer Humor

33451 readers
1476 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Feyd@programming.dev 7 points 2 months ago (8 children)

The funny thing is that it wasn't even a good book.

[–] queerlilhayseed@piefed.blahaj.zone 10 points 2 months ago (7 children)

I haven't read it in a while but I remember finding it very helpful. I think Martin is a guy who had a good idea and wrote a good book, and then everyone told him he was smart and right, and I think if that happens enough a person will start to believe it. Happens to a lot of people who "achieve success", whether or not success is merited. Then he kept on saying things he thought and assumed he was smart and right, and some people kept listening because they liked Clean Code, and agreeing because so many other people said he was smart and right, and it snowballed.

I think once you hit a certain level of intellectual celebrity you can sustain your own momentum without needing to understand or respond to criticism, and that's how people who become famous, like Bob Martin, can turn out the way they do. It happens gradually, and then one day you look at the guy and think "What happened? Was he always like this?" and the answer is yes and no: yes they always said what they think, and no, they weren't always trapped at the bottom of their own opinion gravity well, slowly becoming a caricature of themselves because their thoughts are no longer guided by the thoughts of their peers.

[–] Feyd@programming.dev 10 points 2 months ago (6 children)

had a good idea and wrote a good book

I read the book after asking some junior engineers why they kept insisting on breaking straightforward tasks that could be a single pure function into a web of stateful method calls and learned they were being recommended it by another senior dev.

That book is one of the major contributors to the object oriented enterprise Java from the 90s that everyone universally loathes.

I personally think this discussion is probably the greatest thing he had contributed to software engineering, and not because it puts him in a positive light. https://github.com/johnousterhout/aposd-vs-clean-code/blob/main/README.md

[–] someacnt@sh.itjust.works 1 points 2 months ago (1 children)

Pure function, is that a functional programming lingo

[–] ThirdConsul@lemmy.zip 2 points 2 months ago

Pure function = no side effects, no internal state. If you run a pure function twice with the same input, it will give the same output.

Example of pure function

(a,b) => a+b

Example of inpure function

let c;

(a, b) => {
   c++;
   return a+b;
} 
load more comments (4 replies)
load more comments (4 replies)
load more comments (4 replies)