3 ms·
> At my last job at a Python shop, we spent a lot of time discussing the merits of Python, its syntax, and how to correctly use it. This part is what I don't u
by sirn 15y ago
> At my last job at a Python shop, we spent a lot of time discussing the merits of Python, its syntax, and how to correctly use it.
This part is what I don't understand. Why would you want to spent a lot of time discussing Python syntax? In my experience Python documentations are the best ones I could found for a programming language (apart from those with broken APIs) and most of time how to correctly use something is written right in the documentation.
- derwiki 15y agoYou're right, I don't think I chose my words carefully. Maybe I meant programming idioms? At any rate, what I meant was things like map(len, mylist) vs [len(x) for x in mylist] or the readability of a relatively complex list comprehension vs a loop.
- oinksoft 15y agoSound like awfully low-level things to discuss, except in the occasional code review where something is glaring. Also, map() and filter() aren't quite deprecated but most would agree that the list comprehension is more Pythonic.
- rhizome 15y agoA lack of house style is a huge sandbag once you have more than a few developers.