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

I wanted the example to be simple and relatable. So I went with something close to the transaction example on the Postgres site (which to be honest also feels contrived).

In practice I'd never implement a ledger like this these days, I'd much prefer an append only model with some triggers. But, like you said interactive transactions are very much a thing.

Out of curiosity do you have a better/less contrived example in mind?



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

Search: