logoalt Hacker News

refactor_master • today at 1:06 AM • 1 reply • view on HN

AI still makes mistakes on code with a trillion billion examples, but let’s invent a DSL that only AI can read and hope for the best?


Replies

jacquesm • today at 1:12 AM

Yes, because that code was never written to be understood by machines, merely to be mechanically translated. Software is a very messy set of layers of leaky abstractions trying to express reasonably well defined ideas. Humans can't write code without mistakes, in spite of all the examples out there. If they could compilers wouldn't have to emit error messages.