Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by olejorgenb

3 years ago

And chances are(?) typescript code are to a larger degree monomorphic than javascript making the JIT more efficient(?).

At least typescript discourage writing functions where the parameters can have wildly different types since this is un-ergonomic and/or hard to type.

0 comments

olejorgenb

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities