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
-
@Lensflare I know, I know.. I could spend all my time refactoring.. but this time I actually got permission to spend time on itπ
-
TrayKnots29141d@just8littleBit
What the fuck? But how?
Please don't tell me that it was all dynamic programming stuff to figure out the smallest matrix to optimize matrix multiplication and you have replaced it with list_of_matrixes.reduce((a,b) => a.mul(b)).
Or maybe an implementation of an 2-3-4 tree that was replaced with a std::vec?
Or was the code written by complete beginners which ignored all framework features? Had that once.. That was horrific. They also stopped to use migrations because it was so complicated and changed the database directly. Had no local development environment. Could only see if their changes worked when deployed. It was dreadful.
We were called back in to sort that out again. -
retoor1168141d@TrayKnots i think I've written such tree and it was around 80 lines of code (in c) π
Related Rants
Deleted over 1'500 lines of code over the last 2 days and replaced it with 80 lines of readable, simple, generic code.
And I'm feeelin' gooood πΆ
rant
refactoring