In the context of object design, what does it mean to have high cohesion and low coupling, and why is this the gold standard?

Last updated 5 July 2026

  • High cohesion: a class focuses on one well-defined responsibility, so it has a single reason to change.

  • Low coupling: components interact through small, stable interfaces instead of each other's internals, so changes don't ripple outward.

  • Together they keep changes local, make testing easier (fewer collaborators to mock), and make components reusable and replaceable.

  • https://www.reddit.com/r/developersIndia/comments/1ktgmfk/software_development_interview_preparation/
  • https://www.reddit.com/r/programming/comments/1m2ff3j/casey_muratori_the_big_oops_anatomy_of_a/
  • https://www.reddit.com/r/SoftwareEngineering/comments/1ijqgpb/is_the_o_in_solid_still_relevant_or_just_a_relic/
  • https://www.reddit.com/r/NorthropGrumman/comments/1bt1ug3/monthly_employmentcorporate_questions_and/
All Object-Oriented Programming interview questions