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
-
Please, tell us more about this paranoia driven development!!
What other instances have you met before? -
wouldn't it be funny to replace true by new Random().nextDouble() < .97 or something?
At the very least would it spice up testing and the search for errors -
DEVil6669172y@Drunkzee Mainly abusing inheritance to reuse few lines of code making everything very hard to extend, giving every single HTTP endpoint his own microservice shattering the business logic among 40 Maven projects, splitting classes long less than 50 LOCs "just in case" making very hard to follow the execution flow and creating other stupid constants such as public static final Weekday FRIDAY = Weekday.FRIDAY.
-
DEVil6669172y@Frederick It happened at least at time as it happened to see constants defined from enum values such as public static final Weekday FRIDAY = Weekday.FRIDAY
-
TIL there is lasagna code and even ravioli code.
If you ever get bored of spaghetti. -
DEVil6669172y@Lensflare How Papa Franku said: "ravioli ravioli what's in the pocketoli"
https://youtube.com/watch/... -
DEVil6669172y@TeachMeCode still not enough encapsulation
private static final boolean TRUE = true;
private static final boolean FALSE = false;
public static Boolean getTrue {
return TRUE;
}
public static Boolean getFalse {
return FALSE;
}
Now it’s encapsulated enough 😁
Related Rants
It's nice wanting to follow the best practice but many Java programmer have the bad habit to overdo it making lasagna code which causes painful headaches to who needs to maintain it afterwards. This is just a little sample of the "paranoia driven development" many does in my company.
rant
enterprise
java