6 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.. Other have mentioned
by baash05 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..
Other have mentioned The Mythical Man Month, and I'd say it's a great book. Sadly, more often than not, it's something I wish I could staple to managements foreheads. "read this now before our next planning session"
The Rspec book was a great book, that helped me fully embrace TDD, and this has led to more sleep filled nights than I had a right to before its consumption.
1984... This one terrified me so much, that I have to include it. I write code much more securely because of it.
Strange in a Strange Land. If only because I learned what GROK means.
- Jare 5y ago> I cringe when I see methods/functions over 20 lines long You may find this post interesting http://number-none.com/blow/john_carmack_on_inlined_code.html http://number-none.com/blow/john_carmack_on_inlined_code.htm...
- dunemaster 5y agoWhy the dots?
- Toine 5y agoI thought only boomers do this.
- misja111 5y ago> .. The Mythical Man Month, and I'd say it's a great book. Sadly, more often than not, it's something I wish I could staple to managements foreheads. "read this now before our next planning session" Did you read the book? It's not about the (ab)use of mandays/months in planning sessions, it's about the huge differences in capacities between individual programmers and the importance of having some "10x programmers" in your team.
- wokwokwok 5y agoThat’s a very opinionated view from someone who’s actually read the book. I thought the whole thing was about having a plan, and many well structured, organised teams; having a 10x programmer makes no difference at all without the rest of the things; no matter how great you are, you can’t do everything, and if you try, you’ll become a bottleneck. I sympathise very much with wanting to staple “do you actually have a plan for how that’s going to work?” to someone in a planning meeting. > Very good professional programmers are ten times as productive as poor ones, at same training and two-year experience level. (Sackman, Grant, and Erickson) > Sackman, Grant, and Erickson's data showed no correlation whatsoever between experience and performance. I doubt the universality of that result. > A small sharp team is too slow for really big systems. ^ literally a quotes from the book.
- MonaroVXR 5y ago>1984... This one terrified me so much, that I have to include it. I write code much more securely because of it. What book?
- deelly 5y ago1984
- magnus_blackarm 5y agohttps://en.wikipedia.org/wiki/Nineteen_Eighty-Four https://en.wikipedia.org/wiki/Nineteen_Eighty-Four
- moffkalast 5y agoYour link seems to be broken?
- 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
- Copenjin 5y ago>To this day I cringe when I see methods/functions over 20 lines long.. Wait until you have to follow dozens of 5 lines methods for the sake of unrequited abstraction that could have been compacted in an easier to read 30 line method.
- presentation 5y agoThere is a cost to indirection, a long function can often be way more understandable than a bunch of short, overly decomposed ones.