Skip to content

pointer and ref are middle aligned #19

@mpreisler

Description

@mpreisler

It's a personal preference but I will go ahead and complain about it anyway :-P

Consider this:
a * b - at first glance you are not sure if it's a multiplied by b or a pointer to a stored in b.
a & b - bitwise and or ref?
const a & b

IMO stick to industry standards, nobody cares if it's a *b or a* b but a * b is super rare and weird... I personally prefer a* b but as long as it's not in the middle I am fine and can read it quickly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions