DEV Community

Discussion on: You changed the code, you didn't refactor the code.

Collapse
 
maestromac profile image
Mac Siri

I've definitely done this in the past. I'd too excited to after "refactor"-ing a method to a one-liner and overlooked the fact that I've made that method destructive. Great post!