Skip to content

Do not change objects. Copy them instead #7

@bzhn

Description

@bzhn

It was a bad idea to change pointers to a struct and return them because we may want to use the same object under different circumstances. So now I have to implement copying those structs and returning pointers to new structs. Also, the comments have to clarify that structs' method copies the struct and does not remove it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions