Skip to content

Should we replace ABCDh format for hexadecimal numbers to 0xABCD? #425

@NikolajSchlej

Description

@NikolajSchlej

After a recent discussion with @vit9696 and @Ykidia I've decided to update the output format for hexadecimal numbers from ABCDh to 0xABCD.

Turns out this is a breaking change to almost every tool that uses UEFIExtract's output is some way, so it was quickly reverted.

There could be several arguments for or against such a change, and I'd like to ask y'all on your opinions.

Pro:

  • already used since 2013, no need to update anything anywhere
  • shorter than the alternative by 1 symbol
  • suffixed numbers are easier to compare than prefixed numbers
  • looks nicer

Con:

  • lots of other tools can't tolerate suffixed numbers when pasting into them
  • requires an update of every downstream tool to understand new output format
  • can be more familiar to people with programming background

@Ykidia also suggested making this a setting togglable by the user, with the old format being the default, but both me and @vit9696 are against the idea so far.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions