I got a question here. Isn’t commenting supposed to explain why something exists, what was the reason it was added and what problems solve instead of literally typing the same thing that you can read in the comment below?
For real, in this example the method is named “set_name” and you say “sets a name”. Well, obviously.
What more meaningful comment would you place there if you were told that you have to?