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

What's your opinion on primarily SQL based toolkits which mainly serve to serialize / deserialize results? For example

Android Room (you define DAOs with methods, and annotate each method with SQL query. `Room` takes care of deserializing results into your domain types etc..).

Or Sqlc in Go: you write SQL with annotations, and sqlc will generate Go code corresponding to them.

There's also libraries like JDBI which lend to less structured usage while still avoiding most boilerplate.

I am optimistic that we are converging on the good parts of the ORMs without the baggage that hibernate brings.




> What's your opinion on primarily SQL based toolkits which mainly serve to serialize / deserialize results?

Without `crud` or some other interface, I would probably have yeeted Go into the sea for all my db-related work because `sql` is horrible to work with.




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: