Hacker News new | ask | show | jobs
by Ensorceled 1225 days ago
"It's much easier to read a loop than a list comprehension, please rewrite all the list comprehensions as loops."

I squashed that.

2 comments

Sounds 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.
List 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