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
-
That guy could do this with one if-statement and a slightly bigger condition.
But when you get payed by the hour those things can happen. -
-
Xilats1547y@theMaintainer And now I know that life has no meaning, that everything is an if else else else... cascade.
-
My manager once suggested a KPI of lines of code written per year. This was pretty much the kind of response I gave him!
-
@Wabby that's actually a code that I need to refactor, but I'm struggling with understanding it's purpose...
-
@YouAreAPIRate I have to correct you:
"But when you are paid by the hour and you are a lazy fuck, those things can happen."
😉 -
@pavel-durov
If you setup the different conditions in unit-tests you maybe get a clue of what's going on.
On the other hand with full code-coverage there is no real need to fully understand the idea.
You still can guarantee, that the software will behave like before refactoring this f*un code.
Related Rants
... ...
rant
code