in reply to Re: ?: = Obfuscation?
in thread ?: = Obfuscation?
Interesting - and the Perl 6 changes make sense (although they lengthen the golf-courses for everyone ;).
I noticed the point about the implicit parens between ? and : when I was writing a related tutorial, but just sort of shrugged it off - it seemed reasonable (since '?' implies a closing ':'), but in some ways confusing (since you are more likely to be confused by the behaviour of $x?$y=1:$y=0).
I intend to revise and improve the tutorial to try and reflect some of the views expressed in this thread, but without swamping the users for whom the tutorial is written with too many distractions.
BTW do you think, with acknowledgements, it's ok to use code from this thread in the tutorial, or is it polite to ask the individual contributors first?
Tom Melly, firstname.lastname@example.org