21

WHY DOES TYPESCRIPT EXIST OH MY FUCKING GOD WASN'T JAVASCRIPT ENOUGH

(just starting out on angular2 and i already hate it compared to jQuery)

Comments
  • 10
    Typescript actually tries to fix some of the problems with js while retaining the same overall language.
  • 6
    Typescript makes javascript less shit. Id rather Typescript than javascript.
  • 20
    on your rant are so many things awful.

    - Typescript is a blessing
    - you are using angular
    - you are comparing angular with jquery
    - you probably think jquery is a good way to 'architecture' your application
  • 4
    I don't know what type of applications you're trying to write, but we (myself and people I work with) have always been able to easily deploy fully RAIL's compliant web apps using Angular1.x ..

    Typescript only enhances this, we don't use it often, but it provides very clear and well document benefits.
  • 3
    Idk never used it (typescript) but many of my dev friends prefer it over javascript!
  • 2
    JavaScript is weak(ly typed).
  • 2
    And jQuery is syntactic sugar. It's neither a framework nor its own language. If you start going down the angular route, try to avoid it at best as you can. And give TypeScript a chance, it might surprise you. (I don't want to write plain JavaScript anymore.)
  • 4
    Cause it has class.
    Js is just trash.
  • 3
    I actually liked working on an Angular2 project
  • 6
    @plusgut maybe coz I'm too attached to jquery :( will try working with pure angular now and no jquery at all
  • 2
  • 3
    @k0pernikus will take your advice, thank you!!
  • 1
    @MagnumPanda Go get yourself an avatar mate!
  • 2
    @MagnumPanda
    Getting attached to things you've used alot is normal.

    However, every technology is tool in a big toolbox and while some of them can be used for the same things, sometimes changing to a better fitting tool can help.

    As a dev, i think it's helpful to stay open minded with this, but i can also understand that devs prefer the tech they already know.

    On the other hand, you can also start a "real devs use pure js" movement and feel elite and superior for being narrow minded, it would get you some pluspluses ;-)
  • 2
    @CWins They don't need to start it, that movement already exists:

    http://vanilla-js.com
  • 1
    @k0pernikus
    Great site :-D
  • 1
    @CWins I'd rather stay open-minded 😅
  • 1
    @linuxxx I'm trying to ;(
  • 1
    You didnt just compare angular to jquery
  • 1
    Jquery is perfect when all you need is a few dom for interactions in an otherwise static page but it very quickly can get complicated.

    When it came it was a wast improvement.

    Angular and most frameworks takes a more fundamental design approach.
  • 2
    Typescript is the best thing that ever happened to JS.

    It's the C# of frontend. It's a blessing. It helps you detect syntax and type errors before you even open your browser.
  • 4
    @MagnumPanda I understand very well ! and I have the same feeling. It actually adds very little to ES6 and gets into the way too much. I have been using it for more than a year and I just cannot stand it. The strong typing did not proved to be any helpful if you write strict JS. People find problems with JS but I think is mainly due to not understanding the language and trying to approach it as Java. Probably you need to be a Javeloper to enjoy this F...ING TypeScript
  • 2
    Yes, fuck typescript. Fuck anybody who uses transpilation to redefine a language. Fuck anybody who makes modules which introduce incompatibilities with the basic JS stack. Fuck anybody who uses typescript on the backend. Fuck anybody who calls themselves a developer and cannot write competent, simplistic code.
  • 0
    FFS. I try to do typescript, then it compiles to whatever vanilla JS I was coding anyways...

    WTF is the point? For reals. Someone "educate me" on the whole usefulness and necessity.

    The idea is to simplify a programming paradigm and not over complicate it with new transpilation subset languages, and bloating out JS variant framework/libraries...

    WTF am I missing?

    I'm too busy and too productive to give a rats ass, as I spend much of my time sifting through BS.

    Someone out there please make me a believer as there are a shit load of JS related libraries and frameworks that I "need to learn" before I go insane doing so.
  • 0
    @CWins Or we can go crazy learning every nuance of evolution layer built on top of XYZ JS.
Add Comment