Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide won't
Message
From
12/03/2014 19:47:48
 
 
To
12/03/2014 15:02:48
General information
Forum:
Javascript
Category:
JQueryUI
Title:
Miscellaneous
Thread ID:
01596038
Message ID:
01596414
Views:
45
That's a code smell and needs to be refactored.

>Yes!
>
>Especially when you've had a prior programmer who did things like
>
>if (some condition)
>
>                          stmt1
>
>                          stmt2
>
>                          stmt3
>
>                          stmt4
>
>                          stmt5
>
>                          stmt6
>
>
>                          do case
>
>                                         case first
>
>                                         case second
>
>                          end case
>
>
>
>And this goes on for about 200 lines of code = 500 lines in the program.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform