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

>> With the correct abstractions, you can definitely run tests on save.

You definitely can, but you'll have to roll your own watcher and sync, there's no Guard equivalent that I'm aware of.

>> SQL is rather readable these days.

Used to think so as well. But then I had to read some pretty nasty sp's which calculated discounts depending on what user already has, and geolocation, and time of day, and day of month, and tons of other stuff, and the return value had to be a complex hierarchy of categories/products. So what would be 2 pages of python turns into 500 lines of SQL with some statements 80 lines long, plus it was still a pain to json-encode in python. The only positive thing about it was that I wasn't the one who had to write it.



> You definitely can, but you'll have to roll your own watcher and sync, there's no Guard equivalent that I'm aware of.

[shameless plug] here's mine :) https://github.com/oelmekki/pgrebase

EDIT: sqitch is also often mentioned in that field http://sqitch.org/


pgrebase seems very nice, thanks!




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

Search: