Skip to content

Keyword arguments and Long parameter list #194

@tute

Description

@tute

The chapter on long parameters list doesn't mention Ruby 2 keyword arguments. While it doesn't solve the long list problem, unlike the mentioned alternative with hashes, Ruby will show the required names in an error message due to missing parameter, and the solution wouldn't require positional knowledge.

I think it makes for a worthy addition.

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