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

Yes, this. Also sqlc in Go.

SQL is a language, an extremely high-level one at that. Trying to stitch it together using a lower-level language is a prime example of "if you have a hammer, every problem looks like a nail".

An illustration. Let's say I'm coding in assembly (low-level) and I interact with a large system. The system's docs say that the input can only be formulated in Java Script (higher-level than assembly). So there's the choice: I can either import an arcane library that allows me to stitch something in pure assembly, without ever committing xxx.js file to repo. Or, I can express myself in .js files, using the power of a high-level language.



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

Search: