DEV Community

Discussion on: How I finally understood what a class is

Collapse
 
arj profile image
arj

Nicely explained! I am missing one thing though: the cohesion also implies a common lifetime of the objects. One of the things where behavior gets actually different from comparing classes vs. prefixed variables.