Alright so I just started out learning, and forgiv...
# announcements
a
Alright so I just started out learning, and forgive me if this sounds silly but this has been bugging me for sometime. According to the open-closed principle, classes must not be modified and must only be extended. However, extension functions in Kotlin allow us to add behavior without extending, even though it's not actually modifying the class. Am I correct in thinking that it violates the open-closed principle?