← Back to context

Comment by kazinator

6 hours ago

A type called isize is some kind of size. It looks wrong for something that isn't a size.

Then just define a type alias, which is good practice if you want your types to be more descriptive: https://doc.rust-lang.org/reference/items/type-aliases.html

  • Nope! Because then you will also define an alias, and Suzy will define an alias, and Bob will define an alias, ...

    We should all agree on int and uint; not some isize nonsense, and not bobint or suzyint.

    • Ok, it is obvious that you are looking for something to complaint about and don't want to find a solution. That is not a productive attitude in life, but whatever floats your boat. Have a good day.