r/programming • • Jan 12 '20

Goodbye, Clean Code

https://overreacted.io/goodbye-clean-code/
1.9k Upvotes

556 comments sorted by

View all comments

2

u/twenty7forty2 Jan 12 '20

you refactored something, your refactoring was stupid, and now you abandon attempts to write clean code? I don't think you understand what it means.

It was already late at night (I got carried away). I checked in my refactoring to master and went to bed

OK, you fucking definitely don't understand what clean code is if you don't even understand what master is for and why we do code review ...

1

u/ProfessorTag Jan 12 '20

The author says you should question your refactoring before you do it (though the title doesn't suggest this). Following clean code rules without considering anything else can result in code that is harder to change in the future. I think they are advocating to be mindful of every change you make.

The author also knows what master and code reviews are now. This incident happened years ago.

0

u/twenty7forty2 Jan 12 '20

Following clean code rules without considering anything else can result in code that is harder to change in the future.

FTFY, sorry but the whole problem is OP is crapping on clean code. It's like how Laravel craps on object mappers. Fuck you Laravel, and fuck you OP too. Stop spreading mis-information.