this post was submitted on 02 Sep 2024
754 points (99.3% liked)

Programmer Humor

32000 readers
1744 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] 23 points 2 weeks ago (1 children)

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

[–] [email protected] 9 points 2 weeks ago (1 children)

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

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