New ask Hacker News story: Why don't AI coding tools like REST?
Why don't AI coding tools like REST?
3 by sshadmand | 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.
3 by sshadmand | 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.
Comments
Post a Comment