Re: Sequence comparison

new topic     » goto parent     » topic index » view thread      » older message » newer message

>
>I don't think there is much difference in readability between:
>          s1 $= s2
>and
>          equal(s1, s2)
>and functions, such as equal(), that are built in to
>the interpreter carry no extra overhead when compared
>with operators, so speed is not an issue.
>

that's true as well.. but it's just a preference of mine, and maybe others,
to use operators where possible.

Ian Smith
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu