Hacker News new | ask | show | jobs
by logicchains 243 days ago
>Please do not complain about the global object. Using a pure function would obviously be a useless benchmark for locking and real world Python code bases have far more intricate access patterns.

Just because there's a lot of shit Python code out there, doesn't mean people who want to write clean, performant Python code should suffer for it.

1 comments

Those who's going to suffer are the people who inherited a ton of legacy Python code written in this style.