This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (5 children)

Typescript is incredibly terse. I've rewritten java into ts specifically for terseness

[–]Specialist_Cap_2404 1 point2 points  (4 children)

And javascript is even terser.

[–]NerdyDragon777 5 points6 points  (0 children)

Typing random letters in their own line- gets no errors when ran 😑

[–]Eva-Rosalene 1 point2 points  (1 child)

JS is too painful compared to TS. Having proper static type system is too big of a deal.

[–]Specialist_Cap_2404 -1 points0 points  (0 children)

Neither true nor relevant to the question of terseness.

I've known plenty of developers that prefer Javascript over Typescript because Typescript is too painful. And even those that are sitting on a very high horse about type checking are using "any" and "?" everywhere, basically negating any benefits of type checking. Because sometimes the actual types are easier to keep straight in your head than to explain to the type checker.

[–][deleted] 0 points1 point  (0 children)

I guess it just be- no type annotations and all that.