1,500 karma · joined March 9, 2012
who/dogself
- How do you know you aren't licking the same spot as the guy before you?
It is possible to both make a copy of something, and also do it with deep care and add more features, no?
I probably should have minified it too...
I never actually based my decision on that one, only the technical questions.
This is an example of where I (probably) contributed to making some people feel uncomfortable and I wouldn't do it now.
I've somehow gotten by never really needing to pipe any commands in the terminal, probably because I mostly do frontend dev and use the term for starting the server and running prodaccess
The problem is that the nice feeling you get from writing it is inversely proportional to the nice feeling I have when reading it.
Some of it feels like it was written with the goal of not pressing enter. Can I read it and debug it? Certainly. Do I want to? Certainly not.
Also, have you read the dagger.js code? https://github.com/dagger8224/dagger.js/blob/main/src/dagger...
Its written like the developer has a limited supply of lines of code. No comments, ton of declarations on the same line, and lines that run longer than most widescreen monitors.
Its all super compact and dense. I would not want to try to fix a bug here.
Suggestion: Add a build step that runs before your code is published to npm so that you can have readable source AND small source.
Once this project is about a year old, if it still has any commits, then I'd consider it.
"It won't scale" is how over engineered code gets written
Things go wrong as soon as I ask the AI to write something that I don't fully grasp, like some canvas code that involves choosing control points and clipping curves.
I currently use AI as a tool that writes code I could write myself. AI does it faster.
If I need to solve a problem in a domain that I haven't mastered, I never let the AI drive. I might ask some questions, but only if I can be sure that I'll be able to spot an incorrect hallucinated answer.
I've had pretty good luck asking AI to write code to exacting specifications, though at some point it's faster to just do it yourself