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

An interesting thought. Recipes seem like a great metaphor to explore.

The main is that a destructive functions can call a non-destructive functions freely but a non-destructive operation, say "find best egg" should not have any destructive effects whereas "beat egg" can call "find best egg freely".

I know SQL separates destructive and non-destructive operations very clearly and it also allows the user to back out of some destructive action sequences if all the conditions aren't satisfied. This makes what to do when you don't have butter more easier solved.



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

Search: