5
kapten77
13d

Js made me crazy!

Comments
  • 4
    Crazy?
    I was crazy one
  • 9
    It's the other way around, you use javascript because you are crazy
  • 2
  • 3
    so use typescript
  • 4
    @localpost you want to see the world burn, don't you? Worst advice ever
  • 2
    @localpost yes, turn it up a notch, go typescript
  • 0
    I've always been mental.
  • 2
    @retoor (TS noob here) why?
  • 2
    @netikras it adds complexity. But type hinting is nice I guess
  • 3
    @retoor frankly, I like TS more than JS mostly for type hinting and compile-time type-related errors.

    Why do you (or "people") deem TS inferior to JS?

    Genuine question. Because I always saw TS superior to JS
  • 0
    Typescript sucks because it transpiles into JS anyway. Also it produces JS codes which supposedly can work even in older browsers. I don't like the sound of that. I work in education institution where I can be pretty sure that all my users use modern browsers. It's proven by how nobody complained yet until now.

    IE and ancient Safari/Chrome/Firefox/Opera can go to hell. :-D
  • 1
    @daniel-wu I mean... Asm / machine code is a headache to work with and is an unsafe language and yet all the languages are converted into format close to asm. Does that also mean that all the languages are inferior? I think not. They provide additional layers providing whatever they provide
  • 1
    probably always been crazy, so everyone says

    encountered JavaScript, immediately fell in love and moved in

    and yeah typescript is like worst of all worlds. if I wanted types I'd be using a typed language that does it properly instead of transpiling. God I hate transpilers. nobody asked!

    JavaScript is just intuitive. people would disagree ofc, but speed of delivery for me is way higher in it simply so I liked how fast I could get anything done
    this isn't the case with how people complained about js and made all the libraries shit these days though. because you HAVE to use it, lots of people hate it and shit up the ecosystem I think
  • 1
    @netikras honestly, I have a hard time putting it into words. Once I tried implementing a pattern matching algorithm in typescript. It was like headbanging a wall. Until I decided to write it in JavaScript first and then write its .d.ts file. Things went so smooth I couldn't believe how fast I got it done. Since then, although I rarely write JavaScript, TypeScript feels a bit too patchy
  • 0
    @netikras That's like comparing apples to oranges. All codes in the world are translated into machine codes anyway.

    Translating TS to JS is something more similar to using BabelJS or any JS polyfill library.
  • 0
    @jestdotty "that does it properly instead of transpiling"
    Has to be compiled instead and include bloated glue code 🤡
Add Comment