Had a colleague yesterday arguing to me that python sets use dunder equal for regular non-frozen dataclasses, and dunder hash only for frozen ones, which is incorrect.
Asked them to produce a demo before they write more code. Demo looked generated and failed, at which point they blamed having exhausted their o1 tokens and fallen back to GPT-o4 which is “worse at coding”.
[#]noai #Python #programming #llm #ChatGPT
=> More informations about this toot | More toots from ljmc@fosstodon.org
Dataclasses are recent enough in Python to be found in a small subset of all code that is out there, so the slop machines are no good with them.
=> More informations about this toot | More toots from ljmc@fosstodon.org
text/gemini
This content has been proxied by September (ba2dc).