I have been reading about the DRY principle. Though it seems so easy, I am having difficulty in understanding how we actually achieve it in any project, be it a web application or Swing.
Maybe a few examples will give me a lead and help me in developing my thought process.
I have tried to search on Google, but I could not find anything suitable.