કપલિંગ એક મોડ્યુલ બીજા પર કેટલો આધાર રાખે છે તે માપે છે; કોહેશન મોડ્યુલની અંદર ના ભાગો કેટલી મજબૂતાઈથી એક સાથે રહે છે તે માપે છે. લક્ષ્ય: ઓછું કપલિંગ, ઊંચું કોહેશન.
શા માટે તેનું મહત્વ છે
text
HIGH cohesion → a class does ONE well-defined job, parts relate strongly ✅
LOW coupling → modules interact through small, stable interfaces ✅
