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
-
Glinkis2266yI love refactoring stuff like this. Its fairly easy, and oh so satisfying. Like scratching an itch you didn't know you had.
-
Is he... Is he throwing a plain object there? I thought that that's not even possible...
-
@Krokoklemme he's throwing and exception. The exception name is ObjectSomethingSomethingException(java.lang.String)
-
Brolls31556yOoooh. Pretty.
I do love getting hold of stuff like this for refactoring though, hello implementing a pattern matched way of doing this.
Related Rants
So I hear Christmas is coming, right? Here's a christmas tree for you!
P.S. this is the real thing. It's a Java project we have to work with... For Christ's sake! The guy who wrote this has recently left the company and handed this code to us as his legacy.
fuck.
rant
if else
christmas tree
sarcasm
ai
no oop