this post was submitted on 02 Sep 2024
893 points (99.0% liked)

Programmer Humor

32415 readers
610 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
[โ€“] n3cr0@lemmy.world 12 points 2 months ago (1 children)

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

[โ€“] Zangoose@lemmy.world 19 points 2 months ago* (last edited 2 months 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.