264
ZioCain
5y

How do you even come up with shit like this?

Comments
  • 46
    The most trollish thing is not the existence of those, but that they look like they have a LongButMeaninfulNameThatSaysWhatItDoes but do something completely opposite (see what is returned after comparison).
  • 18
    I doubt newbies will even write that code...
    I've seen juniors write:
    if (x == y){
    return true;
    }else{
    return false
    }

    But nesting in a function and then screw up the simplest check orig == val then return false??

    I think someone is just after retweets (talking about that dude in the picture and not ZioCain)
  • 7
    @gitpush yeah, I'm just after upvotes lol
  • 4
    @ZioCain and you got it XD
  • 3
    Motherfucker
  • 33
    They should implement it using a BooleanComparerFactory that implements IComparerFactory and use singleton pattern to make sure only one BooleanComparerFactory exists. So you can easyly get an instance of factory and use public function that calculates the equality of two variables by usung neural networks and deep learning. It should also use blockchain to make whole process decentralized.
  • 9
    @hack pfft. Try harder. Not enterprisey enough.
  • 6
    @hack Yeah, as there are so many kinds of booleans, you can never be sure enough 😁 Maybe you can add a culture parameter as well
  • 4
    "Object orientation"
  • 4
    @hack oh.. what about the external SOAP calls..?
  • 1
    a clusterfuck of all sorts
  • 1
    I am clearly not on that level.
  • 4
    @hack and make it a microsevice running on multiple windows and linux docker containers.
  • 3
    Also, where is the 20 lines documentation comments for those methods?

    (Of course the doc would describe what the method SHOULD do. Not what it actually does.)
  • 6
    ok but why the fuck does it return false when they're equal
  • 1
    @gitpush I do this sometimes, now i try to do directly return x == y.
    They have to do this, to learn you know what i mean.

    sry for my english
  • 1
    @HamsterOh if and return is ok for starter but calling a function to determine the result when he already is calling a function this is too much tbh
  • 4
    return x == y ? false : true

    No?
  • 2
    Me, 4am, drunk as fuck, "i neeEeD to fiiiix ThAt!!!!111!"
  • 1
    This is probably meant as a joke but are there really developer who are payed by lines of code?
  • 3
    Looks like there was a threshold set for LOC's...!
  • 0
    Probably the manager made a stupid decision to pay you by the amount of lines of code.
  • 0
    I need to implement this using lambdas.

    new BooleanComparator()
    .compare(() -> b1, () -> b2)
    .wantedCondition(Boolean.True)
    .handle((TrueResult, falseResult) -> doSth());
  • 3
    Hey someone found my homework...
  • 2
    Someone needs to write a REST API with secure authentication to tell the state of two booleans relative to each other.
  • 3
    @Kaji what a genius and a monster
  • 1
    @hack You forgot AI.
  • 2
    @hack and then after all that still return the opposite XD
Add Comment