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; > > :) >
Haha :) I, on the other hand, have horrible grammar, so that "whence" looks funny to me. Maybe that should be our slogan: Felix: the first mainstream language with advanced typing and proper grammar Speaking of python, think we can support the "[1,2,3,]" python comma style? I use that all the time in my python code. -e ------------------------------------------------------------------------- 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
