Vladimir

42%
Flag icon
If you want the sum of a list of items, you should write it in a way that looks like “the sum of a list of items,” not in a way that looks like “loop over these items, maintain another variable t, perform a sequence of additions.” Why do we have high-level languages if not to express our intentions at a higher level and let the language worry about what low-level operations are needed to implement it?
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview