Skip to content

Constructor or builder pattern for model building? #136

@anssiko

Description

@anssiko
  1. Wouldn't it make sense to have a constructor rather than a builder pattern for createModelBuilder()? (e.g. new ModelBuilder(navigator.ml.getNNContext());

via w3ctag/design-reviews#570 (comment)

Early discussion suggests preference for the constructor. Some points brought up on the call today suggests we'll evaluate pros and cons here before committing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tag-trackerGroup bringing to attention of the TAG, or tracked by the TAG but not needing response.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions