Ancestors

Written by ljmc ⍼ :python: on 2024-09-24 at 07:02

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

Toot

Written by ljmc ⍼ :python: on 2024-09-24 at 07:09

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

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113191275229773909
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
269.726273 milliseconds
Gemini-to-HTML Time
0.394071 milliseconds

This content has been proxied by September (ba2dc).