Re:How to Write the Worst Possible Python Code (Humor)
by ck45 on Sunday June 15, 2025 @04:28AM
(#44281240)
Seen (and fixed): A function returns some “struct” (as a dict), with a couple of fields, mostly stringly typed, and one field for accumulating error messages called “errors”. The dict was created as a defaultdict(list) (probably) to make it easier to append messages.
[ Parent
| on HN ]
There are no comments on this comment yet.