Skip to content

Alternative to builder pattern and allocation #142

@gurgl

Description

@gurgl

Just looking at the examples I'm missing single constructor per type, instead of builder pattern. Also the idea you need to allocate elements in a collection feels cumbersome to me. Why just not shuv a List in? Both these approaches rely on mutation which doesn't feel it caters to FP.

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