Skip to content

Is the Bad example in Avoid Side Effects(part 1) wrong? #37

@WangZhenhuaFirst

Description

@WangZhenhuaFirst

I think the local variable in the method split_into_first_and_last_name is different from the one name = 'Ryan McDermott' . So it will not affect the outside name variable's value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions