21

>Me: *wants to do something in plain JS*
>Idiots on SO: "Here, have a jQuery solution"

How about fuck off with your jQuery?

Comments
  • 16
    Is that seriously still a thing?

    Anyway, here, have a Typescript solution
  • 2
  • 7
    @alexbrooklyn "Here, have a Java solution"
  • 2
    Yeah seen that too many times, pisses me off.
  • 10
    old joke
  • 2
    @eo2875
    Nice one - but reality isn't much better:
    https://stackoverflow.com/questions...

    The accepted and most upvoted answer looks like written by a die-hard code golfer.
  • 1
    @alexbrooklyn Thank you for the robust piece of code, sir! You make this world a better place.
  • 3
    @Oktokolo I was really just considering to downvote your comment...

    Not because of you but because that answer on SO just made me cringe soo daaaamn badly...
  • 1
    I hate that too, jquery is officially dead.
  • 1
    Converting jQuery to vanilla JS is usually pretty fucking easy.

    Nonetheless if the solution works you probably got the concept od how to solve the problem at hand.
  • 1
    But if you don't want it, why be cajoled into using it.
  • 3
    I love stuff at vanillajstoolkit.com

    Nowadays you don't need jquery, neither framework :)

    I hopu more people would try this, instead of diving to framework 99%
  • 2
    @theMaintainer Never said it was difficult but still a massive pain nonetheless.

    @danielstaleiny I don't use jQuery in most project anymore (I only needed a few parts of it so I build my own library for those things to still make it easy).

    I do sometimes (depending on circumstances) use a framework though... primarily EmberJS (since that is the only one I've tried that doesn't make me wanna commit warcrimes).
Add Comment