3 ms·
I'm a big fan of the pattern introduced by Yesql for Clojure [0], also ported to Python as anosql [1] [0] https://github.com/krisajenkins/yesql https://github.
by _bohm 8y ago
I'm a big fan of the pattern introduced by Yesql for Clojure [0], also ported to Python as anosql [1]
[0] https://github.com/krisajenkins/yesql https://github.com/krisajenkins/yesql
[1] https://github.com/honza/anosql https://github.com/honza/anosql
- wswope 8y agoWow, I wish I'd learned about anosql a long time ago! I love the elegance of it - thank you for the rec!
- WhatIsDukkha 8y agoI call this pattern "dotsql". (I've made private golang and rust crates for it). You avoid inline sql like the plague and your editor can have a nice dedicated sql buffer with all the bells and whistles. I wish it was a more common pattern, it just makes soooo much more sense.