Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
devman2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
devman2
8y ago
hmm, did a naive quick speed test. Man, this lib is extremely expensive... 500 times slower than doing the same comparison in vanilla JS const num= 74; ( (typeof num === 'number') && (num > -1 && num <
2.
▲
by
devman2
8y ago
Why Typescript and not just JS? Static typing for a dynamic language in a dynamic environment while using many npm libraries that can return anything unexpected? You'll need tons of testing to be sure. Typescript is highly overrated, p