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
-
or this
if (String.valueOf(booleanVariable).equals("true")) {
// shit a brick and fuck me with it
} -
luaq36167yI actually used to do this, I looked at some of my old Java projects and it was a horrific sight
-
@stisch Well, I didn't :D if something evaluates to boolean it did not make sense to me to check it again 🤷
Related Rants
-
l0om44100% Real. And it's not even the worst on the site.
-
Codazed11Being 100% serious, I saw a guy in my Computer Programming I class using MS Word to write code that he would c...
-
dfox8I worked with a good dev at one of my previous jobs, but one of his faults was that he was a bit scattered and...
not the worst by itself, except I keep finding them everywhere
if(thingThatIsTrue == true) {
// omfg
}
or it's inbred cousin
if(!thingThatIsTrue == false) {
//herpa derp
}
rant
wk99