|
|
|
|
|
by kipple
1430 days ago
|
|
> About 10 years ago we had a similar problem with jQuery. Often you would go to Stack Overflow to find the answer to a JavaScript problem you were having only to find the answer was given in jQuery. I don't understand this argument. TypeScript is just JS + type annotations — you should be able to boil away any fluff and be left with functioning JS. Whereas jQuery has actual runtime logic that would need to be reworked if you wanted a $-free solution. The author goes on to say: > This was even worse when the question was along the lines of “How do you do (jQuery thing) in JavaScript?”. When would anyone ask "How do you do (TypeScript thing) in JavaScript"? |
|
In regards to the jQuery comparison, I'm not suggesting that someone would ask such a question of TS. All I'm saying is that there was an expectation that everything should be done in jQuery at the time.