Stupid Code Tricks:
Ruby http://www.ruby-doc.org/docs
foo, bar = [1, 2]
PHP http://www.php.net/manual/en
list($foo, $bar) = array(1, 2);
JavaScript http://developer.mozilla.org
[foo, bar] = [1, 2]; // I believe this is only valid in the latest versions of Firefox.