3 ms·
seriously sometimes writing SQL feels more like composing a google query than programming.
by Suppafly 2y ago
seriously sometimes writing SQL feels more like composing a google query than programming.
- jl6 2y agoA great thing about being a programmer is getting to complain about the crappy requirements you have to work with. SQL, on the other hand, is not a program - it’s a precise specification of the result you want, in a format that lets the database engine write the “program” for you. Thus, writing SQL helps you appreciate the struggle to achieve good requirements, and there is a chance you will develop empathy for those cursed to write them.
- int_19h 2y agoThat can be said of any program written in a pure declarative language, but even so not all of them look like SQL. And, yes, they are still programs.
- Ekaros 2y agoWell, it is in the name. Structured Query Language. And I would argue that it is very often right mind send. You are trying to query data, not process it. Thus actually making it query seems rather reasonable paradigm.