236 points by javatuts 7 days ago | 61 comments | View on ycombinator
SilverSlash 7 days ago |
kertoip_1 6 days ago |
https://gibbok.github.io/typescript-book/book/differences-be...
So we know there are types and interfaces. One support declaration merging, one does not. Both can extend others, but in different ways. But why? Why there are two of them? When should I use them? Is one better than the other?
locknitpicker 7 days ago |
gnabgib 7 days ago |
tkiolp4 7 days ago |
reverseblade2 6 days ago |
phplovesong 7 days ago |
Also it would have been interesting sto ser what influence Haxe would have had on javascript itself
fallinditch 6 days ago |
To the author, congrats and thank you. I have one piece of feedback:
When you are typing Typescript on your keyboard you are typing types using a strongly typed language.
Some definitions would be useful to novices: 'type' as a noun or verb, in the mathematical context + the notion of 'strong'.
doodlesdev 6 days ago |
straws 6 days ago |
MORPHOICES 7 days ago |
embedding-shape 6 days ago |
> Access to ES6 and ES7 features
> Cross-Platform and Cross-browser Compatibility
Damn, I wasn't aware that since I avoid TS, I cannot use ES6 and ES7, and my vanilla JavaScript doesn't run in all browsers :(
I guess over-hyping the technology that the book is about is to be expected, but it still leaves a slightly sour taste in my mouth when people oversell what they're talking about it.