Hacker News story: Why don't AI coding tools like REST?

Why don't AI coding tools like REST?
Is it just me, or do AI coding tools tend to generate RPC-style endpoints and POST methods (even when GET is clearly all that is needed) instead of following RESTful conventions? Given how advanced these models are, I'm wondering if this is intentional. Is AI saying it has determined that strict REST isn’t a practical standard all around? Or is it just a byproduct of token efficiency or....? I know I can steer the output with better prompting, but I'm curious whether there's a real underlying reason for this almost all-the-time output. 0 comments on Hacker News.
Is it just me, or do AI coding tools tend to generate RPC-style endpoints and POST methods (even when GET is clearly all that is needed) instead of following RESTful conventions? Given how advanced these models are, I'm wondering if this is intentional. Is AI saying it has determined that strict REST isn’t a practical standard all around? Or is it just a byproduct of token efficiency or....? I know I can steer the output with better prompting, but I'm curious whether there's a real underlying reason for this almost all-the-time output.

Hacker News story: Why don't AI coding tools like REST? Hacker News story: Why don't AI coding tools like REST? Reviewed by Tha Kur on April 28, 2026 Rating: 5

No comments:

Powered by Blogger.