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
-
netikras35181358ddifficult to read
difficult to write
difficult to delete
difficult to update
..
probably also difficult to execute -
cr8zycatcodr73358dI notice I write stupid code before my caffeine in the morning…leave important stuff out and kick myself later, I have a habit of commenting stuff out until I’m sure it’s crap and can go
-
lorentz15210358d@cr8zycatcodr In this case I'm updating more than half of the project built on a haphazard abstraction that used a whatever interface with an indefinitely growing number of methods to discover information about the individual objects.
-
lorentz15210358d@cr8zycatcodr Turns out composition over inheritance won't save you from downcast hell, it just becomes `_ => abort()` hell.
-
Root82528357dI solve this by writing good code, and deleting my coworker’s keyboard diarrhea.
I don’t care if it was difficult for them to write because everything is difficult for them, except complaining and taking offense. They’re phenomenal at those. -
lorentz15210357d@Root it's not painful to delete someone else's bad code. I'm talking about mine. More specifically, I'm talking about phasing out outdated models when maintaining them is no longer feasible. The most recent memory of the old system at that point would be several weeks of increasingly difficult challenges requiring ever deeper mathematical insight preceding the one question that is blatantly unanswerable and thus makes me realize that the model is wrong.
Related Rants
The catharsis of deleting code that is difficult to read, clashing with the agony of deleting code that was difficult to write.
rant
it's all just me
refactoring