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

Programmer Humor

32588 readers
935 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] 24 points 2 months ago (1 children)

Do you have a minute for our lord and savoir TypeScript?

[–] [email protected] 11 points 2 months ago (1 children)

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

[–] [email protected] 18 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.