Skip to content

Why mixing immutability and tuples ? #371

Open
@houd1ni

Description

@houd1ni

Hi. This proposal looks like hard mixing of two different and distinct ideas: immutability and tuples.
The last could be used in functions to return more that one value, for example, without need to create a whole new object, like in golang.
And immutability wrappers or so could exist in a different proposal without specific syntax to not to mix things up.
Now we already have some of the mix, by having immutable strings (that however could be optimized by jit while replacing) and anything else.
Why develop this ?

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