3 ms·
But did it bring the organization more revenue? In the past I've done some things in PHP that were horrible hacks but did help the whole company forward. Doing
by st0p 15y ago
But did it bring the organization more revenue? In the past I've done some things in PHP that were horrible hacks but did help the whole company forward. Doing them right in the existing code base would mean rewriting a lot. Especially one of those hacks has gotten it's revenge on me when making it more flexible later, but in the meantime it did bring us substantial rewards.
To this day i'm still not sure what would be better: telling my boss "sorry, but if we want feature y, it will take 2 months (but it will we done right)" or "yes we can do that in 2 days but don't expect the code to be pretty"
- Legion 15y agoAll code is an exercise in living with imperfection. The trick is finding the sweet spots in the scale of imperfection vs. time, which aren't linearly correlated (eg. you can spend a lot of time gold-plating something and make only small gains in reducing imperfection, while on the other end of the spectrum, sometimes investing a little bit of extra time can yield large gains in reducing imperfection). I'm sure some programming book somewhere has said that in a much more elegant fashion.
- devs1010 15y agoMaybe at the time but I'm sure they have cost thousands of dollars in dev hours later on that evened it out