skaller wrote: > Dang it Erick and I are Pythonistas .. and we can't resist > copying Python ideas :) > > I'm thinking of: > > val x = x / y unless y == 0 whence 0; > > This is similar to Python 2.5: > > x = x / y if y != 0 else 0 > > except the polarity is reversed. 'whence' is a mouthful, > but the correct English is actually > > val x = x / y unless y == 0 in which case 0; > > How about
x = x / y unless y == 0 then 0; or x = x / y except if y == 0 then 0; I can't help thinking that people will rebel against a language feature which uses the term "whence"! -- James "Painting the Bicycle Shed" Dennett ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Felix-language mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/felix-language
