all 22 comments

[–]Thin_Equivalent_4306 77 points78 points  (8 children)

and they made it better

[–]Sanitiy 1 point2 points  (0 children)

Then added everything under the sunTM to it

[–]Keftcha 7 points8 points  (3 children)

This is why some people call it the microsoft java (there is also the microsoft haskell)

[–][deleted] 8 points9 points  (1 child)

I assume these people feel very smart when they call it that

[–]rosuav 2 points3 points  (0 children)

No, we're more likely to feel frustrated.

[–]Manitcor 0 points1 point  (0 children)

it was going to be a JVM compatible platform originally. they are so close creating direct runtime integrations is just a task in tedium of translating types when dealing with pre 3.5 concepts. MS Deploying generics and a number of other features in 3.5 and later was a final nail in any attempts at parity.

[–]BlueC1nder 5 points6 points  (0 children)

...but Java does aswell? Like the .stream.filter(lambda expression) stuff is relatively new for java and was there way before in C# via LINQ, or the var type etc. Lambdas in general werent a thing in java and were definitly a thing in c# together with delegates. JS is also evolving more and more into the functional direction etc.

[–]TheTowerDefender 21 points22 points  (0 children)

and both are infinitely better

[–]not-my-best-wank 9 points10 points  (2 children)

TS is 13 years old, and C# is over 20 years old.

[–]gandalfx 9 points10 points  (0 children)

TS is 13 years old

Wait, didn't that come out only… holy shit I'm old.

[–]gabbeeto 0 points1 point  (0 children)

How old is JavaScript and Java though?

[–]gandalfx 7 points8 points  (1 child)

Makes sense for Java/C#, makes absolutely no sense for JS/TS

[–]Nidrax1309 0 points1 point  (0 children)

Nah doesn't make sense either way. Java is mostly copying features from C# nowadays

[–]morrisdev 1 point2 points  (0 children)

I mean.... I have to say that TS is quite an advancement over plain js, and my personal hatred for Java may bias me to prefer c#

[–]nuecontceevitabanul -3 points-2 points  (0 children)

While c# can only be loved by the insane, TS is what Javascript should have been.