3 ms·
When the function name & types are harder to grok than the body I think it’s an issue. Looking at you, TypeScript.
by eddsh1994 4y ago
When the function name & types are harder to grok than the body I think it’s an issue. Looking at you, TypeScript.
- bmacho 4y agoFor me it is an issue as well, but it doesn't seem to be an issue for the others. I strongly prefer Haskell/math notation for denoting the types of functions, but all the new languages choose other syntax.
- Gigachad 4y agoI don't think the syntax of TS is the problem. It's that people are trying to define types for massively dynamic JS that is inherently hard to express as a type.