168
ZioCain
14d

How do you even come up with shit like this?

Comments
  • 32
    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).
  • 11
    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)
  • 5
    @gitpush yeah, I'm just after upvotes lol
  • 4
    @ZioCain and you got it XD
  • 25
    When you get paid by lines of code
  • 3
    Motherfucker
  • 21
    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.
  • 5
    @hack pfft. Try harder. Not enterprisey enough.
  • 5
    @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
  • 3
    "Object orientation"
  • 3
    @hack oh.. what about the external SOAP calls..?
  • 1
    @24th-Dragon i hope it exist. I will become rich by writing unit tests
  • 1
    a clusterfuck of all sorts
  • 1
    I am clearly not on that level.
  • 2
    @hack and make it a microsevice running on multiple windows and linux docker containers.
  • 1
    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.)
  • 5
    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
  • 2
    return x == y ? false : true

    No?
  • 1
    Me, 4am, drunk as fuck, "i neeEeD to fiiiix ThAt!!!!111!"
  • 1
    Maybe the developer is being payed based on number of lines of code he writes
  • 1
    This is probably meant as a joke but are there really developer who are payed by lines of code?
  • 2
    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.
Your Job Suck?
Get a Better Job
Add Comment