![]() A conditionally executed block of code is not placed inside a begin/end structure. If your (pseudo) code looks like: class RequestHandler įor me (and you can correct me if I'm wrong), the Case statement throws this rule out of the window. If you add or remove a clause in one switch, you often have to find and repair the others too.īoth Refactoring and Refactoring to Patterns have approaches to resolve this. ![]() Typically, similar switch statements are scattered throughout a program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |