Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
eksemplar
7y ago
0 comments
Share
What advantages did you get from typescript? Seems like type safety is a huge trade off from what you lost by adding those amounts of complexity, especially when you’re not really utilising it.
0 comments
default
newest
oldest
h1d
7y ago
You'd get more benefit if you're developing API where random others are consuming your code for them to use API properly.
But still, it can still save you from obvious mistakes even for a one man project.
eksemplar
OP
7y ago
I agree but I’d pick graphql for that instead of typescript.
jeremychone
7y ago
Not sure TypeScript and GraphQL are mutually exclusive.
1 more reply
JoshuaScript
7y ago
Honestly, I'm using it for it's marketability. I haven't yet found it particularly useful.
j
/
k
navigate · click thread line to collapse