$10K coding deathmatch

Andrew McNabb amcnabb at mcnabbs.org
Mon Nov 6 14:05:41 MST 2006


On Mon, Nov 06, 2006 at 04:05:16PM -0500, Andrew McNabb wrote:
> 
> Recent perl will let you do:
> 
> print ('match' if value else 'not a match')
> 
> but that's still way uglier than using if/else statements.  What's so
> great about cramming everything on one line?
> 

s/perl/Python/

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868



More information about the PLUG mailing list