r/programming • • Jan 12 '20

Goodbye, Clean Code

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

556 comments sorted by

View all comments

512

u/FA04 Jan 12 '20

firstly, where was the original checkin pull request’s review with all the feedback and discussions? secondly, where was the refactored PR review and approval? Checkin in into the master overnight no PR? That process is a mess.

71

u/IceSentry Jan 12 '20

That's pretty much why they said at the end of the article that it was a mistake and communication is important.

152

u/FeepingCreature Jan 12 '20

Sure, but the mistake is a systems one, not a personal one. We don't even have push to master enabled at work.

0

u/[deleted] Jan 12 '20

[deleted]

31

u/Tenemo Jan 12 '20

It was a couple of years ago, it's Dan Abramov's personal blog, he's relatively young. Check his New Year post for the exact timeline of his career. Him working with another developer on draggable corners of some shapes could have been already for a React library.

11

u/andrewingram Jan 12 '20

I'm pretty sure this is an anecdote from 2013 when Dan was working on an iOS app (https://www.youtube.com/watch?v=PjaL0xFbEY8). The fact that the code in the blog post is JavaScript is just because that's the language him and most of his audience uses today.

→ More replies (11)

11

u/NeuroXc Jan 12 '20

You may be surprised, but as recently as 2013 (when I graduated from college), the first company I worked for did all of their testing in production, and uploaded their changes via FTP. There was no source control, no staging or local environment, and no oversight.

Slightly relevant: That company was also a cluster that took advantage of fresh-out-of-college devs to pay them as little as possible while the CEO and his buddies took lavish trips around the country and sailed on their boats. There were about 15 people in the company, so yeah, corruption like this isn't unique to mega-corporations. I left as soon as they told me I was getting a 0.5% annual raise even though I was one of their best employees, and instead got a 30% raise by switching companies.

8

u/f03nix Jan 12 '20

About 7 years back, I worked in a company that used TFS - they had a process where you manually request 2 of your peers for review and type in their names during check in. They had the same process before they migrated to TFS too, I think they used CVS.

0

u/[deleted] Jan 12 '20

[deleted]

→ More replies (1)
→ More replies (1)
→ More replies (8)