I have problems understanding the statement low in coupling and high in cohesion
. I have googled and read a lot about this, but still finding it hard to understand.
To what I understand is High cohesion
means, that we should have classes that are specialized to perform a particular function. Hope this is correct? Like a credit card validation class, which is specialized to validate credit cards only.
And still don’t understand what low Coupling means?