Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Batdroid1968yI once found a bug in my project. While I was fixing it I realised it occurred because I coded it incorrectly the first time to hack some time and because it was supposed to be temporary code.Cursed myself and continued to patch it. Spent an hour trying to patch it and realised it can't be patched this way.
Cursed myself again and rewrote the whole damn thing correctly in half an hour.
Learned to always do stuff correctly even if it is temporary. -
@Batdroid that's right! there's no such thing as a "temporary solution". always write it as if it were gold plated.
Related Rants
when you spend hours trying to patch code you poorly structured of which 30 minutes is enough to rewrite the whole damn thing.
undefined
code