Posted by (Not Necessarily) Jason Gortician on 08/28/05 18:49
"^reaper^" <knocking@deaths.door> wrote in
news:d7n68k06tia.dlg@fallen.angel:
> In the following decision tree, you stupidly order the decision blocks
> from least to most common thereby forcing the client app to execute
> unnecessary code. To wit.
>
>:if (checkIt('konqueror'))
>:{
>: browser = "Konqueror";
>: OS = "Linux";
>:}
>:else if (checkIt('safari')) browser = "Safari"
>:else if (checkIt('omniweb')) browser = "OmniWeb"
>:else if (checkIt('opera')) browser = "Opera"
>:else if (checkIt('webtv')) browser = "WebTV";
>:else if (checkIt('icab')) browser = "iCab"
>:else if (checkIt('msie')) browser = "IE"
Oh, that's just sad.
--
Tell Them the King of Brawl Hall Sent You
http://brawl-hall.com/forums/forumdisplay.php?f=71
You need to BeDoper
http://www.bedoper.com
Navigation:
[Reply to this message]
|