clean-code-ruby
clean-code-ruby copied to clipboard
Is the Bad example in Avoid Side Effects(part 1) wrong?
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.