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
-
netikras34887204d@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-wu679204dTypescript 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 -
netikras34887204d@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
-
kobenz868204d@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-wu679203d@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. -
devRancid653202d@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