Skip to content

Discourage use of tags to implement logic #37

@kwitaszczyk

Description

@kwitaszczyk

Tags could be seen as an interesting feature to implement logic that behaves differently depending on whether a pointer or an integer value was passed to a function. This triggers two issues:

  1. Relying on tags to distinguish pointers from integer values does not distinguish valid and invalid pointers, and it's simply invalid.
  2. Relying on tags makes it harder to upstream changes.

The document should make a developer aware of consequences of such decision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions