Usually, we don’t wire electrical appliances together by attaching the cable directly to the wall. Instead, we use plugs and sockets. A socket defines a shape that the plug must match. In an analogy to software design, the socket is an interface.

Read More →

Share Button

If you ever stayed in cheap hotel, you will see hair drier directly attached into the wall outlet.

Tight coupling

Now couple of problems here.

  • What if your hair drier stopped working?
  • What if hotel management decided to switch to new model which consumes less power?

Read More →

Share Button