Sure, it's good practice, but actually it depends on algorithm used. Sometimes you could actually work without default value. In my case messenger is always defined, so suitable _expression_ will be found always. Probably, in some particular tasks exception must be thrown, when no suitable case found. It depends...

On 8/9/06, Rostislav A. Siryk <[EMAIL PROTECTED]> wrote:

Ah I see now! BTW, isn't it good practice to provide default case in switch statements?

Sincerely,

Rostislav Siryk
Senior Graphic Designer
Validio Ukraine
[EMAIL PROTECTED]


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to