--

That's fair. If I'm refactoring a variant size called "base" to "large" but there are 20 components using "base" then I'd have to be really careful. Not having to click through and remember what an enum actually means is worth it in my mind, since fixing a critical bug is more common than a large refactor in my experience.

--

--

Dr. Derek Austin 🥳
Dr. Derek Austin 🥳

Written by Dr. Derek Austin 🥳

Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.

No responses yet