Skip to content

Too many package level constants/variables? #454

@irfabid

Description

@irfabid

In my opinion, layers package is too polluted with exported constants/variables. Would it be a good idea to have separate package for each layer?
Perhaps all commonly used layers in a single package (layers), and all uncommon layers in their own packages? (e.g. layers/lldp package).

This can have an additional advantage of shorter identifier names because then we can drop prefix. For example, layers.LLDPChassisIDSubType will become lldp.ChassisIDSubType.

This would be breaking change however.

Any thoughts?

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