Skip to content

Change printing of Unsigned types to decimal base #30167

@AzamatB

Description

@AzamatB

After consulting on the slack channel, I am still not aware of a good reason why Unsigned types are printed in the hexadecimal base (looks like it was a decision that inherited from C). But there is a number of reasons to represent them in the usual decimal base. I associate them with natural numbers, but their idiosyncratic representation makes them unintuitive to interpret, so I end-up opting for Integers just for the sake of decimal representation even when only Unsigned would suffice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change will break codedisplay and printingAesthetics and correctness of printed representations of objects.speculativeWhether the change will be implemented is speculativewon't changeIndicates that work won't continue on an issue or pull request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions