this post was submitted on 02 Sep 2024
891 points (99.1% liked)

Programmer Humor

32042 readers
930 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Incase it doesn't show up:

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 12 points 2 weeks ago (1 children)

As long as it can distinguish between int and uint - yesss!

[โ€“] [email protected] 19 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

TypeScript is still built on JavaScript, all numbers are IEEE-754 doubles ๐Ÿ™ƒ

Edit: Actually I lied, there are BigInts which are arbitrarily precise integers but I don't think there's a way to make them unsigned. There also might be a byte-array object that stores uint8 values but I'm not completely sure if I'm remembering that correctly.