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
-
Lensflare2131432d@kamen it does practically nothing. It‘s just an insane amount of dependencies injected in the most inconvenient way possible.
We are supposed to follow a specific pattern to make UseCase objects which practically just have a single method that does a single thing.
There are dozens of those use cases and each of them has a Repository dependeny which needs to be created on the call side, which in turn has an API connection dependency which needs to be created on the call side. And that goes on with more stuff per level and like 4 to 5 levels deep. All that crap needs to be created, initialized and passed to the constructor, on every place where that constructor is called.
That takes up to 70 loc. -
include0000431dThe developers don't want to optimize or upgrade the existing code. They want to use the code as it is.
lead to
Code turns into a mountain of shit -
2Fdev2Ftcsh167031dMethanol? Taking the easy way out!
Ethanol in large quantities to get through the day and then do the same following days is the way is the way heroes are defined... right? -
awesomeest103329dwell mine technically werent in multiple lines... so technically i didnt write one with more lines of params... -
awesomeest103329d@Lensflare umm u do get that retoor doesnt understand that what they just said is NOT a near valid flex... riiight?
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.
Have you ever seen a constructor/initializer with 70 lines of parameters?
I have.
Now excuse me, I need to drink some methanol.
rant
more!
more