2008/6/29 Colin Guthrie <[EMAIL PROTECTED]>: > Dotan Cohen wrote: >> >> Why not? I do this often, but I am not a professional programmer. I >> find this to be very useful. > > Found another opinion/article about this. I remember reading this one a > while back: > > http://whatimean.wordpress.com/2007/02/08/multiple-return-points-are-bad/ > > Like I said before, I don't personally subscribe to this point of view, but > it makes for interesting reading :D >
Thanks. He makes a good point. For my own one-man-show homepage, my multile-exit strategy is fine. But I do see the value in regard to code debugging and following the code flow. Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?