Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> but I'd rather learn SQL than whatever custom-flavor-of-ORM-query-language some ORM tool created

This point is worth emphasizing!

When you application carries non-trivial business logic, it will create non-trivial DB access patterns.

The developer will either use SQL or some other language that, pragmatically speaking, translates to SQL. But either way, they will learn some DB expression.

I'd rather use a standard. Existing familiarity, easier to find docs, support, and is probably more bug-free, etc.




And since SQL has existed for so long, chances are that someone already had your problem and has posted the solution somewhere.


Another reason to use standard MySQL? ChatGPT is really good at writing, and modifying, SQL queries and the code that injects input into it.

You don't really have to write SQL anymore, you just tell chatgpt what you want changed and it works most the time. The times it doesn't, it gets you most of the way there.


Not sure "standard" and "MySQL" belong in the same sentence. ;-)


> The times it doesn't, it gets you most of the way there.

But you have to understand SQL to know that, and to fix it, which defeats the purpose really.


I wouldn’t say that it defeats the purpose really, as it’s a great aid to help us reach the proper solution.


I can imagine what would be/is valuable is type checked embedded SQL queries.





Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: