Comment by politelemon
Comment by politelemon 19 hours ago
It's only more readable if you already understand it. Otherwise it is not, it requires the same kind of hand waving that happened at the start.
Important to understand that readability doesn't mean it should be closer to natural language, in programming it means that a junior dev troubleshooting that code later down the line can easily understand what's happening.
The python examples are certainly more readable from a maintainability and comprehension standpoint. Verbosity is not a bad thing at all.
> It's only more readable if you already understand it. Otherwise it is not, it requires the same kind of hand waving that happened at the start.
Yes, but it’s a core language feature, so if you spend any time programming Ruby, you’ll come to understand it.