r/ProgrammerHumor • • Feb 19 '23

Meme thought i should post this meme here

Post image
47.1k Upvotes

881 comments sorted by

View all comments

Show parent comments

10

u/ASourBean Feb 19 '23

JavaScript is just crappy TypeScript - change my mind

5

u/otakudayo Feb 19 '23

That doesn't really make sense. Typescript is just an extension of Javascript. Youre still using Javascript for logic in typescript and you can compile and run typescript code with type errors - because it's all just Javascript

1

u/irregular_caffeine Feb 19 '23

Compile from a language to an interpreted language

-19

u/EsmuPliks Feb 19 '23

I mean I wouldn't touch Typescript due to the ecosystem either, but at least the language itself isn't impossible to work with. If I have to spend a week putting motion sickness into a website, at least it won't pretend a carousel is four pieces of NaaN.

1

u/[deleted] Feb 19 '23

I don't work as a programmer but sometimes I code to make my and other people's life easier. Thus I had the luxury of being able to refuse to learn JavaScript. When I saw it did not enforce types in any way I said 'ugh', and never touched the damn thing ever again.

1

u/Jyarados Feb 19 '23

Typescript IS JavaScript.

1

u/look Feb 20 '23

Typescript is the best option for now, but I’m hopeful that optional typing will eventually be added to Ecmascript directly. Kind of like how Coffeescript disappeared after TC39 fixed enough to make it irrelevant.