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

IIRC, we use this Idiom in SICP while doing symbolic algebra.

For instance, when we have x+y=z and know only x and z, we need to reverse the equation to have y=z-x. The system was built on nodes which would propagate change (a-la events).

IMO, python's with statement with __enter__ and __exit__ looks mostly like this.



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

Search: