> From: Charlie Griefer
>
> Sean C's coding guidelines suggest (note the word 'suggest') that
> structKeyExists() is preferrable over isDefined().  I believe
> the reason cited was isDefined() is really parsing a string
> (the function's argument), which is comparatively slower than
> structKeyExists() checking for a key in a struct.
>
> I've gotten into the structKeyExists() habit.

It varies - I go for readability
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to