HackerTrans
トップ新着トレンドコメント過去質問紹介求人

bluepnume

no profile record

投稿

TypeScript's number type is a lie

bluepnume.medium.com
4 ポイント·投稿者 bluepnume·2 か月前·6 コメント

コメント

bluepnume
·先月·議論
[dead]
bluepnume
·先月·議論
True enough. Although personally I prefer to just use regular functions rather than big inheritance chains.
bluepnume
·2 か月前·議論
Probably if nothing else, impossible to have it perform well without static typing?
bluepnume
·2 か月前·議論
In most languages you could probably solve this problem with a class. But wrapping all your numbers in a class with runtime consequences, just for a bit of extra type safety, feels quite extreme.
bluepnume
·7 年前·議論
Vouching for Ty. Been working with him on brainblocks.io for the last few years, the guy is a solid engineer, leader, and a fast learner. Had a fantastic experience working with him!