You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: text/0544-rename-int-uint.md
+18-14Lines changed: 18 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,12 @@ However, given the discussions about the previous revisions of this RFC, and the
49
49
- Rename `int/uint` to `isize/usize`, with `isz/usz` being their literal suffixes, respectively.
50
50
- Update code and documentation to use pointer-sized integers more narrowly for their intended purposes. Provide a deprecation period to carry out these updates.
@@ -61,27 +67,23 @@ There are different opinions about which literal suffixes to use. The following
61
67
### `is/us`:
62
68
63
69
*Pros:Theyaresuccinctassuffixes.
64
-
* Cons: They make an extra pair of reserved words which are actual English words, with `is` being a keyword in many programming languages and `us` being an abbreviation of "microsecond", which makes them confusing as suffixes, though technically there should be no ambiguities between "`is` the suffix" and "`is` the keyword with other use cases (in the future)". Also, `is/us` may be *too* short (shorter than `i64/u64`) and may be *too* pleasant to use, which can be a problem.
0 commit comments