Most sane individuals know that dynamic scoping is evil. However, it can be useful, and Dave Thomas shows that when made explicit it can actually be pretty nice. His code demonstrates some powerful Ruby features: using blocks to add syntax to the language and (ab)using callcc. Neither of these is possible in Python. The way … Continue reading Dynamic Scoping
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed