DEV Community

Discussion on: TailwindCSS: Adds complexity, does nothing.

Collapse
 
ashleyjsheridan profile image
Ashley Sheridan

If you're relying on find/replace tools to make hundreds or thousands of edits to your codebase because of a change like this, it's still a problem. Everyone has seen (or caused) a scenario where a find/replace has gone wrong and replaced the wrong thing by accident, e.g. replacing "Arial" with "ArialBold", but accidentally creating instances of "ArialBoldBold" because your find-fu was off.

However, if the code was following DRY principles, there would be very few instances that needed to be changed, so would be far more likely to be handled better.