Reusability is a big part of it, but I also think languages are just a lot more abstract and expressive these days, so fewer lines of code goes further. Empirically, error count is correlated with lines of code, as are hallucinations, so the ideal language for AI coding is the most abstract and expressive language that will get you there.

> so the ideal language for AI coding is the most abstract and expressive language that will get you there

...JavaScript? (half joking)