News for hackers. Stuff that matters.
Re:Hyperpolyglot: PHP, Perl, Python, Ruby by gb on Saturday August 13, 2011 @06:16PM (#2882133)
I don't disagree with what you're saying, but it does mention in the comment that x is not mutated.
Re:Hyperpolyglot: PHP, Perl, Python, Ruby by petercooper on Saturday August 13, 2011 @06:23PM (#2882139)
I totally didn't notice that note but the page doesn't seem to have been updated since then :-)

I still don't see why it doesn't just use the common syntax though that does the same thing. It's intriguing that the Python one has no example for that row. Perhaps they are specifically looking for idiomatic techniques, even if they're not commonly used.

I note that the page is on a wiki so I could fix it, but given it's been there for years, I suspect there's a good reason no-one has already made the change.