NextBurgh, PA          @VannevarB      About      Pittsburgh Murals
October 11, 2009

Elegent Code And Implementation: The Baby Rocker

Linux Baby Rocker

There's elegant code, and there's elegant implementation, and sometimes you get to see them together in the same project.

Here's a bit of elegant code, just 5 lines if you remove the explanatory comments:
while [1 = 1]
        #eject cdrom

        #pull cdrom tray back in
        eject -t

Here's an abundantly elegant implementation:


Post a Comment

Comments and Feedback? Love that stuff. Please leave your thoughts in the box below--