The twixt control statement is a more clear way of expressing a concept usually expressed with a try...finally–type expression. Ruby (and I assume Smalltalk) use some interesting patterns with blocks: for example, mutex.synchronize takes a block (read: anonymous function) and does the lock/unlock around it; File.open does a similar thing with opening and closing a file. But those are usually implemented in an ad-hoc manner.
twixt
The twixt control statement is a more clear way of expressing a concept usually expressed with a try...finally–type expression. Ruby (and I assume Smalltalk) use some interesting patterns with blocks: for example, mutex.synchronize takes a block (read: anonymous function) and does the lock/unlock around it; File.open does a similar thing with opening and closing a file. But those are usually implemented in an ad-hoc manner.
-
blog moved
As described elsewhere, I've quit LiveJournal. If you're interested in my continuing posts, you should look at one of these (each contains feed…
-
dremel
They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…
-
treemaps
I finally wrote up my recent adventures in treemapping, complete with nifty clickable visualizations.
- Post a new comment
- 0 comments
- Post a new comment
- 0 comments