
Photo by Kevin Ku on Unsplash Dan Abramov on how he once overnight refactored a piece of WET code written by a colleague, but then got called out for doing so: My boss invited me for a one-on-one chat where they politely asked me to revert my change. I was aghast. The old code was …