Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
netikras3492813d@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 -
daniel-wu64413dTypescript 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 -
netikras3492813d@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
-
jestdotty307413dprobably 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 -
kobenz65013d@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
-
daniel-wu64412d@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. -
devRancid56811d@jestdotty "that does it properly instead of transpiling"
Has to be compiled instead and include bloated glue code 🤡
Related Rants
Js made me crazy!
rant
js