clean-code-ruby icon indicating copy to clipboard operation
clean-code-ruby copied to clipboard

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

Open WangZhenhuaFirst opened this issue 6 years ago • 0 comments

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.

WangZhenhuaFirst avatar Jun 07 '19 15:06 WangZhenhuaFirst