Re:Why do we fall into the rewrite trap?
by ayushgp on Tuesday January 21, 2020 @08:14AM
(#22106581)
I agree. I recently worked on a price where 1 java class had 14 methods named construct<subtype>fields which all built a html+js+css mess using a string builder. I was asked to add support for 3 more subtypes. And this was the god class for the UI. We rewrote the whole UI in 3 months. There was no way that could be refactored.
[ Parent
| on HN ]
A rewrite that small is a refactor.
Re:Why do we fall into the rewrite trap?
by james_s_tayler on Tuesday January 21, 2020 @04:43PM
(#22111955)
That just sounds like garbage code to begin with.