> Today, I was told it was bad form to use EQ for a string
comparison that IS
> should be used. I've been doing this for a long time so
it was news to me.
It's ballocks, so I wouldn't be that concerned about not
having heard about
it.
Strictly speaking, when comparing strings, one should use
compare() or
compareNoCase() (depending on requirement). But EQ / IS work
fine too.
They might be slightly slower, but not by a such a factor
it's worth
worrying about.
> Any insight is greatly appreciated.
I think you should ask the person who told you this to
qualify their
answer.
--
Adam