logoalt Hacker News

delectiyesterday at 2:19 PM4 repliesview on HN

I worked with a junior dev who suddenly got really excited about Clean Code. Every example he brought up left me feeling that there was a kernel of good advice, but the book wanted you to take it to such an extreme that it would result in shitty code.


Replies

jghnyesterday at 3:48 PM

> there was a kernel of good advice, but the book wanted you to take it to such an extreme that it would result in shitty code

I see you're familiar with Uncle Bob's handiwork

ansgriyesterday at 2:46 PM

I feel like half of junior programmers are susceptible to this.

teddyhyesterday at 4:02 PM

There is now a second edition of that book which has supposedly been rewritten to fix that.

oldestofsportsyesterday at 5:56 PM

It strongly pushes for max 3 LOC per function, and I am not even joking.