Perl's lack of 'in' keyword

Jonathan Stowe jonathan.stowe at gmail.com
Fri Oct 10 14:02:58 BST 2008


2008/10/10 Rafael Garcia-Suarez <rgarciasuarez at gmail.com>:
> 2008/10/10 Paul Makepeace <paulm at paulm.com>:
>> Back to programming languages(!)
>>
>> Just as a different perspective, here is Python growing a ternary operator,
>> i.e. how to get the same behavior as the C-like C ? A : B. There was
>> considerable debate about this, with Guido eventually Making a Decision.
>> What's interesting is that python gets ?: without any additional keywords,
>> or... punctuation: http://www.python.org/dev/peps/pep-0308/
>>
>> There's no moral judgment here, just thought it was an interesting aside
>> from lies & nazism.
>
> But isn't aesthetics the ultimate moral judgment for the centuries to come ?
>
> And honestly, putting the condition in the middle just makes me want
> to poke my eyes out with a snail fork.
>

Just remember to stick that on YouTube when you do it :-)  For an
encore I'd recommend disembowelment with a melon scoop.


More information about the london.pm mailing list