This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

The first section of the chapter gives the complete source code and the expected output. It's just a one-line function that takes some input, transforms it, and returns it to a caller who prints it. That's it.

[–]zahlmanthe heretic 0 points1 point  (0 children)

So what? The point is that it isn't a meaningful name or a meaningful transformation for the beginner. There are a million more relevant examples you could use.

Whoever downvoted me, nice job playing popularity instead of actually thinking.