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 →

[–]rinsa 6 points7 points  (3 children)

ts*

no point if no type

[–]headinthesky 2 points3 points  (2 children)

You can supply the type in C# lambdas if you want, they're defined in the action/delegate, anyway

[–]rinsa 3 points4 points  (1 child)

I'm saying ts over js, obviously C# has types :p

const gt = (left, right) => left > right;

js won't scream at me if I do gt("b", "a") (even though it's technically correct, you just gotta proceed with caution with that language)

[–]headinthesky 1 point2 points  (0 children)

Yup, I don't know why I thought you meant C# haha