I was watching a presentation on Swift, which has eerily similar names for basic numeric types – except that unsigned integer types are capitalized as UInt rather than Uint, UInt64 rather than Uint64, etc., which strikes me as possibly a more pleasant and consistent capitalization on the theory that UInt is short for U(nsigned )Int(eger). It also has the virtue that changing a type from Int and UInt is just a matter of adding a letter instead of replacing a letter and adding a letter.
To be filed under things I should have brought up five years ago.
I was watching a presentation on Swift, which has eerily similar names for basic numeric types – except that unsigned integer types are capitalized as
UIntrather thanUint,UInt64rather thanUint64, etc., which strikes me as possibly a more pleasant and consistent capitalization on the theory thatUIntis short forU(nsigned )Int(eger). It also has the virtue that changing a type fromIntandUIntis just a matter of adding a letter instead of replacing a letter and adding a letter.To be filed under things I should have brought up five years ago.