3 ms·
Ah, the monthly “do you need an ORM" thread. Please organize yourselves in two equal-height piles around “yes” and “no”, and then a third minuscule one around
by arcturus17 4y ago
Ah, the monthly “do you need an ORM" thread.
Please organize yourselves in two equal-height piles around “yes” and “no”, and then a third minuscule one around “the hell do I know, it’s your use case and your code”.
See you again in a few weeks!
- arp242 4y agoLast I heard the "yes" and "no" factions formed an alliance to fight against their common enemy, the "it depends" faction. I expect that sooner or later one of the factions will barbarossa the other though.
- super256 4y agoAll I really want is inference for queries, like the JetBrains IDEs kinda do it. I can write something like this (pseudocode): username = '31337' result = db.query('SELECT username, email FROM users WHERE username = 1?', username) And it would automatically show annotations for `result`, straight from the database: result?: { username: string, email?: string }
- GeorgeHoneywood 4y agoThis is pretty much the idea behind sqlc, with some extra steps of course. You write your SQL queries in file, and it generates type safe bolierplate for you. https://github.com/kyleconroy/sqlc https://github.com/kyleconroy/sqlc
- poutine 4y agoLOL. Yup. Our next instalment will be around Progressive Web Apps Are Bad. Get sorting kids.
- euroderf 4y agoWord on the street is, vi BAAAD emacs GOOOD
- lelanthran 4y ago> Word on the street is, vi BAAAD emacs GOOOD I'd ask about tabs vs spaces, but that seems settled now ...