Re:An app can be a home-cooked meal
by __MatrixMan__ on Saturday January 06, 2024 @03:54AM
(#38889771)
At least in my code, these nested loop thingies are rarely unique. If I have to do it once I probably have to do it many times. If I'm being mindful, I stop repeating myself and just write a generator so that I can invoke it like:
Mostly this is because I live in fear of ruff's complexity warning, C901.
[ Parent
| on HN ]
There are no comments on this comment yet.