13

This jewel piece of code in Java:

if(String.valueOf(var1.toString( ) ).equalsIgnorecase(String.valueOf(var2.toString())){
//fuck something else here
}
String var1; //defined somewhere
String var2; //defined somewhere in the code

At this point I am not even mad 😂😂

Comments
  • 0
    some people are just crazy 😂😂
  • 2
    Don't you have to try to be that bad?
  • 3
    @mattrick i guess so. prior to this my definition of bad string comparison was using "==" but this was something else entirely. i don't have words to explain
Add Comment