While it is not completely impossible to end up (pun intended) with something like this, you usually follow a coding style that avoids it. Kind of like in Ruby.
You have the option to define named methods that yield or to use the short one-parameter syntax where this: