lambda's exist for a reason. that would be one. The point is that coded names lie less than comments and when it comes to explaining intent, the name of something you are calling often does a good job.
Additionally, the habit makes finding these pattern easier to find common segments of code. This is abstraction 101.
Loops are often the most important part of code. They generally deserve a name
2
u/[deleted] Oct 21 '20
[removed] — view removed comment