News for hackers. Stuff that matters.
Re:Making the move from Scala to Go by hobarrera on Wednesday January 25, 2017 @01:42AM (#13479257)
This is one of the extremely cool things about python. There's always one right way to do this, and it's usually pretty obvious. There's also quite clear, standard style guidelines, so code is generally formatted pretty much homogeneously, and tends to be a lot more readable than many other languages.
Re:Making the move from Scala to Go by ajyoon on Wednesday January 25, 2017 @02:15AM (#13479409)
Per the Zen of Python, there should always be exactly one sensible way to do something, but unfortunately this is not often the case. List comprehension can be achieved just the same with functools, itertools, explicit for loops, etc.

That said, I do tend to have that mantra a little more present in my head when I'm working with Python.