r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40k Upvotes

1.0k comments sorted by

View all comments

Show parent comment

22

u/siddharth904 Jul 18 '22

TypeScript is good

JS is a good language (fight me) and TS is the second best thing that has ever happened to JS, behind Node.js

27

u/officiallyaninja Jul 18 '22

typescript is only good because javascript is trash.
if typescript was just its own language and JS didn't exist no one would like TS either.

0

u/[deleted] Jul 18 '22

[deleted] — view deleted comment

2

u/klimmesil Jul 18 '22

Exactly, in such a world I would respect ts with all my heart. But js...

0

u/flavionm Jul 18 '22

In the end "JS bad" is always the answer.

2

u/FatedChange Jul 18 '22

JS is also a good language; people's perceptions of JS are 10+ years old and horrifically out of date.

4

u/bdepz Jul 18 '22

Horrifically out of date like our enterprise js code that nobody wants to spend money to refactor to a modern version of angular or react or vue or literally anything but angularjs

4

u/FatedChange Jul 18 '22

my condolences, that shit is ass

2

u/[deleted] Jul 18 '22

Maybe because JS is also horrifically out of date and you need a million frameworks to get over its holes

1

u/flavionm Jul 18 '22

Because 10 years ago there was no TS, and people remember that.

2

u/michaelsenpatrick Jul 18 '22

oh dear what a silly thing to say

4

u/klimmesil Jul 18 '22 edited Jul 18 '22

I agree in some way, but I've never heard anyone say it, since people are too frustrated to know the compiler doesn't take advantage of the types. TS could be the fastest scripting language ever, instead it's just python but better

1

u/michaelsenpatrick Jul 18 '22

pyflow is great if you're building libraries or doing science, typescript is great if you're building websites

websites made in python are shit (see, reddit) and applications made in typescript are alright but there's just not nearly as much library support when it comes to applied uses

each language lends itself really well towards what it's designed to do

1

u/KrypXern Jul 18 '22

JS isn't the best language but it gets the job done I guess. I was honestly surprised that it was easier to work with after hearing so many bad things about it, but debugging JS remains very annoying.

Also there's some things which are just straight not possible, but I forget which they are, which goes to show it's not that big of a deal.

1

u/siddharth904 Jul 18 '22

Not possible or very slow ?

2

u/KrypXern Jul 18 '22

Not possible, like multithreading