Skip to content

Deprecate method value (foo _) syntax? #273

@SethTisue

Description

@SethTisue

the difference between foo _ and foo(_) (or foo(_, _) and so on) has always been a puzzler factory.

if the choice is between foo _ and foo(_), then losing the first option isn't bad, but if the choice is between foo _ and foo(_, _, _, _, _, _) then it starts feeling different.

but in the wild, perhaps most uses of foo _ would also compile simply as foo because a function type is already expected?

personally, I think I tend to write foo _ even when just foo would compile, just to explicitly signal to the reader that foo is definitely not being called.

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