Hacker News new | ask | show | jobs
by cloverich 7 days ago
> provided said docs but the AI would still mess it up somehow.

The AI is not intelligent. Its really hard to grasp cleanly. But it can't do anything logically like we do. Its pattern matching. It has to be a pattern its seen; then it can assemble them. If there are competing patterns - it'll trip up being consistent. Long established libraries and languages that change the least, it'll be best at. Anything newer it'll be bad at - even with documentation. The only way out is to give it tests, then it can loop over several simpler problems, where the errors (failed tests) match well onto the more basic primitives that don't really change (wrong string, wrong type, wrong structure, etc)

2 comments

i spent a weekend with an ai expert trying to get claude to generate code from a yacc grammar for a new language and a smallish set of examples. claude never seemed to get past the bnf syntax.
You know what else is pattern matching? Experience.

I think I finally have a way to describe how AI works: infinite experience, none of the smarts.