On Wednesday 01 September 2010 18:06:37 Brandon McCaig wrote: > On Mon, Aug 30, 2010 at 2:25 AM, Uri Guttman <u...@stemsystems.com> wrote: > > but i never use until anyhow. i use unless a fair amount as i don't like > > if ( ! EXPR). my current boss has asked me to stop using unless but i am > > not stopping. > > It seems silly to use unless, but never use until. :) I think both > make the code more clean and readable, at least for native English > speakers.
Well, I can testify that unless makes the code more confusing for me as a non- native speaker of English. Whenever I encounter an unless, I have to say to myself: "OK, this translates to if (not COND()) which means this and that.". Maybe it's because Hebrew does not have a commonly used word for "Unless" (we have "Ilmalé" but it's not in common use.) and we say "If not" instead. So I never "unless" in my code - only "if (!)". Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Original Riddles - http://www.shlomifish.org/puzzles/ God considered inflicting XSLT as the tenth plague of Egypt, but then decided against it because he thought it would be too evil. Please reply to list if it's a mailing list post - http://shlom.in/reply . -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/