Code Smells can help to find code problems early.
For basic Information you can look here:
The idea is to identify typical ABAP Code Smells. The aim is of course to find bad code as soon as possible.
!I invite all ABAP Developers that figured out smelling to code to add your Code Smell to the following list!
List of ABAP Code Smells
The possibility to create aliases is an ABAP speciality. The APAB construct with the ‘~’ (CLASSNAME~INTERFACECOMPONENT) does only exist in ABAP.
In Java e. g., if a class implements an interface it inherits the interface members directly with the origin name.
Often this smell indicates the problem that the caller of the class uses the object typed too concrete.
Renaming of an Interface Method or attribute Name mostly causes the need of renaming the aliases, too.
Wasting time while maintainig the aliases.
Use the object in reduced interface sight! This step leads to the worthwhile approach of loose coupling of classes by using objects as generic as possible.
Then any aliases get pointless.