3 ms·
Why would you rewrite them as loops?
by doutunlined 4y ago
Why would you rewrite them as loops?
- Ensorceled 4y ago"It's much easier to read a loop than a list comprehension, please rewrite all the list comprehensions as loops." I squashed that.
- schrodinger 4y agoSounds awfully micromanagey, making the decision as someone with way less context than the senior engineer… unless you have OCD and non-pragmatic engineers upholding unreasonable expectations.
- dilyevsky 4y agoList comprehensions are advised against in Google’s official Python Style Guide and many similar guidelines for this exact reason. You sound like a micromanager who thinks he’s more technical than you actually are