15
JohanO
6y

*Sigh*
My colleague produces this code and is completely happy with it .... !!!
Its 2018 FFS!!!

Comments
  • 1
  • 3
    That looks ripe for injection. I hope that data is sanitized.
  • 2
    @duckWit that data is coming straight from a REST-endpoint with nothing in between...

    Parameterized queries anyone?
  • 2
    That's stupid.

    What's up with your color theme though?
  • 1
    Of fuck no! Kill it with Fire! Do it now! This should be legitimate to fire anyone.
  • 4
    @pullervo repeat offenders, I agree. Otherwise be hard on the problem and easy on the people. Teach and instruct before termination. My two cents, anyway.
  • 2
    @duckWit wise words. Totally agreed
  • 3
    dafuq?!

    your colleague is making python look bad. very bad.

    I'd throw a pylint + mypy combo at him/her
  • 2
    @karelian agreed. However code style is the *least* of his problems
  • 2
    I have never used raw sql in code. Can someone tell me what is wrong with this?
  • 1
    @vishal-vp

    Just.. If you're going to f*** your co worker in the ass at least have the courtesy of giving him a reach-around.

    Also, this code isn't using a condom
  • 2
    @vishal-vp I'll just leave this here: https://xkcd.com/327/
  • 1
    "That's the worst JavaScript I've ever seen!" ~ 2nd Year Grad, Full Stack of Issues
Add Comment