Re:Why we don't hire programmers based on puzzles and tricks
by steveklabnik on Friday February 22, 2013 @02:41PM
(#5266255)
Also, it depends on which language you're using...
(obviously this has the same flaw you mention, the interpreter is doing stuff for you. It follows the letter of the 'no intermediate variables' only.)
[ Parent
| on HN ]
Re:Why we don't hire programmers based on puzzles and tricks
by michaelfairley on Friday February 22, 2013 @03:03PM
(#5266422)
You can also follow the letter in C, Java, etc.:
a ^= b
b ^= a
a ^= b
Re:Why we don't hire programmers based on puzzles and tricks
by jervisfm on Friday February 22, 2013 @07:12PM
(#5267826)
What does that do?
Re:Why we don't hire programmers based on puzzles and tricks
by steveklabnik on Friday February 22, 2013 @07:37PM
(#5267901)