Skip to content

Use Builders for CommandSpec and ArgSpec? #260

@remkop

Description

@remkop

The current design has setter-like methods (without the JavaBeans set method name prefix). Should we use Builders instead? Main advantages:

  • retain the possibility of making these classes immutable
  • ensure the object is in a valid state (fully initialized) by doing any validating or defaulting in the build method

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions