| ▲ | ben_w 11 hours ago | |||||||
Swift/SwiftUI are two of the three experimental projects I'm using Codex on, the other is a physics simulation in python. It keeps trying to re-invent the wheel, does a bad job of it. The physics sim was supposed to be a thin wrapper around existing libraries, but instead of that it tried to write all the simulation code itself as a "fallback" (but it was broken), and never actually installed the real simulators that already did this stuff despite being told to use them in the first place. The last few dozen(!) prompts from me have been pairs of ~["Find all cases where you've re-invented the wheel, add them to the planning document", "now do them"]. And it's still not finished removing the original nonsense, so far as I can tell. One of the two Swift experiments is just a dice roller, it took about 10 rounds of non-compiling metal shaders (I don't know metal, which is why I didn't give up and do that by hand after 4) before I managed to get that to work, and when it did work it immediately broke it again on the next four rounds. It wrote its own chart instead of using Swift Charts, and did it badly. It tried to put all the hamburger menu options into a UIAlertController. Something blocks the UI for several seconds when you change the dice font. I didn't count how many attempts it took to correctly label the D4. The other Swift experiment was a musical instrument app, that got me to the prototype stage, eventually, but in a way that still felt like a student's project rather than a junior's project. | ||||||||
| ▲ | skeledrew 8 hours ago | parent | next [-] | |||||||
> Find all cases where you've re-invented the wheel Did you put in the original prompt the "wheels" you wanted it to use? It's a toss-up when you aren't very specific about what you want. | ||||||||
| ||||||||
| ▲ | ben_w 9 hours ago | parent | prev [-] | |||||||
(Just outside edit window, I now realise I was ambiguous in this comment, it was more like "Find all cases where you've re-invented the wheel, add their removal to the planning document") | ||||||||