Is this bad practice? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 2
ya true but partially
18th Dec 2017, 2:04 AM
Akshay Gaigole
Akshay Gaigole - avatar