From: Kedar Mhaswade Date: 2011-01-11T23:29:38+09:00 Subject: Parallel Assignments and Elegance/Complexity Ratio. In SICP, I read that "Programs should be written for people to read, and only incidentally for machines to execute". While reading David/Matz book, I stumbled upon parallel assignments and I thought the language was trying to be too flexible (adding complexity, at least for a newcomer). My head soon started spinning (when it reached a, (b, (c,d)) = 1, [2, [3, 4]] I was exhausted). My experience is recorded here: https://docs1.google.com/document/d/1zpHvfO4be3UvjaxU7L5gEPXFMENcMmEz9qqIcecEzOg/edit?hl=en# Summary is, I should only spend time learning - x, y, z = 1, 2, 3 (# => x=1, y=1, z=3), and - x, y = y, x (# => swap x and y) I gather that this might be a matter of taste and style, but are other variants used by community? Thank you, Kedar -- Posted via http://www.ruby-forum.com/.