7 ms·
> Clean code... To this day I cringe when I see methods/functions over 20 lines long.. Or when I see commented code blocks in one function.. To this day I crin
by wiseowise 5y ago
> Clean code... To this day I cringe when I see methods/functions over 20 lines long.. Or when I see commented code blocks in one function..
To this day I cringe when I see dogmatic opinions of a fraud taken like an absolute truth.
- croo 5y agoClean Code was the first book I read that suggested (with concrete examples and rules!) that I should use code as a communication medium to other programmers first and foremost, the orders you give to the computer comes second. It is an opinionated book and there are some dumb rules in it but it did way more good than harm to the dev community. Definitely not a fraud...
- activitypea 5y ago"I read it there first" != "the idea came from there" Uncle Bob puts forth a couple of good ideas from time to time, but none of those good ideas are his.
- croo 5y agoI never argued who thought about this idea first it's just where I met it. There is value in gathering good ideas. Could you please point me to the books about clean code before Uncle Bob? I'm interested.
- aesyondu 5y agoInteresting. This is the first time I've seen Robert Martin to be referred to as a fraud. I'd like to read an elaboration of this. I looked around and found this video [[https://www.youtube.com/watch?v=mb9VPWbrqmE][Uncle https://www.youtube.com/watch?v=mb9VPWbrqmE][Uncle Bob (Robert Martin) is a Fraud!!!]] but most of the comments are dismissive of the review.
- nickelpro 5y agoThe examples in Clean Code are bad and would never make it through modern code review. qntm did an extensive overview of this: https://qntm.org/clean https://qntm.org/clean
- ptx 5y agoNot a great video. He starts by attacking Robert Martin for taking 10 minutes to get to the substance of his talk, but then his own video never progresses from there and never gets to anything substantial.
- pydry 5y ago>Interesting. This is the first time I've seen Robert Martin to be referred to as a fraud. I'm not sure if fraud is quite the right word but he gets a lot of flak on HN for being something of a religious fanatic. E.g. the top comment in this thread: https://news.ycombinator.com/item?id=26153823 https://news.ycombinator.com/item?id=26153823
- joshgrib 5y agoI was a fan for a while until I learned all this other stuff about him https://blog.wesleyac.com/posts/robert-martin https://blog.wesleyac.com/posts/robert-martin - this is a good article > While Martin advocates for a small, dogmatic, and incorrect set of technical ideas for making code better, that's not why most people are upset with him — it's far more common for people to be upset about his views on race and gender, and particularly the way that someone in a position of power expressing those views hurts people in the communities that he's a part of