You get a bonus - 1 coin for daily activity. Now you have 1 coin

Smell Code Change Weights

Lecture



These smells lead to the fact that if necessary, to change something in one place of the program, you have to make many changes in other places. This seriously complicates and increases the cost of program development.

Divergent modifications

When you make changes to a class, you have to change a large number of different methods. For example, to add a new type of product you need to change the methods of searching, displaying and ordering goods.

Shot Shot

When making any modifications, you have to make many small changes to a large number of classes.

Parallel inheritance hierarchies

Whenever you create a subclass of a class, you have to create another subclass for another class.

created: 2019-01-25
updated: 2021-03-13
1



Rating 9 of 10. count vote: 2
Are you satisfied?:



Comments


To leave a comment
If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Refactoring theory

Terms: Refactoring theory