| ▲ | evannotfound 42 minutes ago | |
Thank you. This is so much more detailed and feels more human than AI-generated slop. | ||
| ▲ | martincmartin 6 minutes ago | parent [-] | |
Author here. I agree, I love Bartosz's page and it is much more detailed, in fact I found it kind of overwhelming and getting lost in the weeds when I first read it, so created this partly as an introduction or primer for it. Think of this as 101, and Bartosz as a full reference. Full disclosure, I did use AI to help create this, but it's about as far from slop as possible. I created the outline for the talk and the topic of each slide before engaging AI, and would fix some code by hand, although I'm a systems programmer and not front end, so it mostly handled that. Fun story: the second script it made, to generate the watch model (at the time it was an SVG, I later decided to convert it to WebGL), it kept the data in a dict, e.g.
And another dict for radius, another dict for center location, etc. I was blown away, I hadn't seen code that bad since I programed in BASIC in the '80s. You don't even need Object Oriented programming, you just need structs, I started gathering everything together in one struct when I first learned C in the 1990s.I asked it why it did that, and it said "Oh I followed the style of your other script" which was a throw away script for an experiment. I have no idea where it learned this style, maybe lots of throw away code in its training data, or code written more by scientists/mathematicians rather than software engineers? I'm genuinely at a loss. So I created my first coding agent skill, a Python code quality skill, that starts with "if you're using dict literals with string literal keys, consider a dataclass or class instead." It did write the first draft of the text from my notes, but none of it was in my voice, and it emphasized all the wrong things so I rewrote it all. I'm sure an AI phrase or two slipped through, but it's about as far from slop as AI assisted code/writing could be. | ||