Let's say I have the following architecture: module Keyring @keyring = Keyring.new class Keyring def key def add_key def update_key def remove_key class ...
I am given this set of code and need to suggest ways to improve the code's cohesion and coupling of the classes. But I thought these classes are quite well de-coupled since it looks like they are ...
Following on from this thread I started The Singleton Pattern It got me thinking about how coupled my classes are and how best to achieve loose coupling. Please bear in mind I am a new programmer ...