5
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 2 years ago

Someone decided to call you after you had 2,147,483,647 missed calls lol

[-] [email protected] 1 points 2 years ago

Why use a signed integer for something strictly non-negative (ignoring bugs ofc)?

[-] [email protected] 0 points 2 years ago

Because it is all written in a language that only has signed numbers. That's virtually all modern languages.

[-] [email protected] 1 points 2 years ago

Swift (used for Apple devices) has them (see the Integers section):

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/thebasics/

So it was actually written in a language that has them...

C# has them (goes without saying)

Java doesn't seem to.

This is still clearly far from "virtually all."

load more comments (5 replies)
load more comments (9 replies)
this post was submitted on 14 Nov 2023
5 points (100.0% liked)

Apple

107 readers
2 users here now

A place for Apple news, rumors, and discussions.

founded 2 years ago
MODERATORS