Is this bad practice? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Is this bad practice?

Overriding an attribute from a superclass in the subclass seems like it could cause confusion while debugging. Is this considered something to avoid unless there's no other way to accomplish the desired behavior?

18th Dec 2017, 12:42 AM
Nathaniel Bourell
Nathaniel Bourell - avatar
1 ответ
+ 2
ya true but partially
18th Dec 2017, 2:04 AM
Akshay Gaigole
Akshay Gaigole - avatar