July 2015
Intermediate to advanced
1300 pages
87h 27m
English
For the first time in the history of Visual Basic .NET, Visual Basic 2015 introduces support for built-in refactoring techniques. Refactoring allows you to reorganize portions of your code a better and cleaner way, without changing its original behavior. Visual Basic 2015 makes it easier to refactor your code via special tools offered by the light bulb. In this section you learn about the most common refactoring techniques.
Refactoring allows you to extract an interface from a class. Consider Listing 6.7, which shows an extended definition of the Person class discussed above.
Why StringBuilder?
You might argue that the code would be better if it simply used methods from the String class ...