13
Gnonpi
7y

Fuck you JavaScript with your blocks within blocks within blocks, your promises and callbacks, your million of libraries that are doublons or not finished. Fuck you with your assigning variable before functions, fuck you!

Comments
  • 5
    Yea! Fuck you for being async and not blocking the whole application while you do the most mundane things.

    Anyway, don't like callbacks, use promises
    Don't like promises, use async/await

    Or what would your solution for async code be?
  • 1
    @Froot Just because you have async/await doesn't mean the language is shit. Like just to get the keys of an object or obtaining a portion of array, why does it have to be so complicated?!?
  • 1
    @Gnonpi a) Object.keys
    b) Array.prototype.slice and Array.prototype.splice
  • 0
    @plusgut why can't it be an attribute of Object or a method of Array? Why so complicated?
    That's after that that I'm ranting, I know how to use Stack Overflow to get my answers. To me, JS is not intuitive at all
  • 0
    @Gnonpi yep, it's might consistent. Why? I don't know.
  • 0
    @theScientist counterargument : Python and Java
  • 0
    @Gnonpi Keys is not a method on Objects because that would take away your ability to have a property called keys. It's actually a smart decision

    I think it comes down to skill. You've developed in JS for 30 min and now you're screaming here that it's shit because you can't use it. Boo hoo
  • 2
    I used to hate JavaScript but now with all the nice tooling like typescript and webpack i dont see why anyone would use anything else
  • 0
    Wait till you have to develop a highly interactive website in which you get to modularize all components into self contained blocks of wonderful webpack instructions, non blocking code and ajax calls in the glory that is react redux or when something that takes hours in native android takes 10 mins in react native and you will praise out all mighty Js POWAAAHS nah seriously, git gud and you will love it, js aint that bad and it can be seriously fun. Specially considering the powers of front end development. It really has gotten better. Es6 ftw!
  • 1
    @Froot I wouldn't say Js is badly made after 30min, i'm on a project part-time since 2 months, have to do it in Js, it would have taken half the time in Python.
  • 1
    @AleCx04 yeah I agree it must be cool for front-end with angular/react and all the libraries available, I'll have to try it
Add Comment