Skip to content

Choice of Short closure Symbol #6

@HallofFamer

Description

@HallofFamer

I noticed that in your most recent macro, you are using ~> as the symbol for short closures. I am interested in the reason behind this choice. Is it for technically reasons, as it may be difficult or impossible to just use => as symbol? Or could it be that you are anticipating that PHP will be using ~> for its own short closure implementation in future, so it is an attempt to be consistent with the language itself? Just curious.

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