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
Related Rants

when your code is a mess but everything work out in the end
When you keep getting +1s on a rant you posted a month ago.
Go big or go home.
Did a big refactoring on a file/type which had about 1k loc.
Extracted some code into separate types as components with single focused responsibilities.
Extracted the generic parts into a generic component and using it in the specific component via composition.
Made the boundaries between different layers of responsibility explicit and clear.
Reduced the original file size to about 400 loc.
Ran the app to check if everything works exactly as it was before the refactoring.
It does! I fucking love my job!
rant