Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mikado: Applicable to legacy code or new features?

 
lokesh sree
Ranch Hand
Posts: 100
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ola and Daniel,

Good to see a book on a systematic approach to do code re-factoring, which I believe is a major activity happening now a days in software.

The quick introduction and the book's content seems to talk about dealing and improving legacy code. So, My question here is - Is this approach or method completely dedicated to re-factoring alone?
Or, are there parts of the approach that can be applied to new code development as well?

Thanks and Best Wishes for the Book,
Lokesh.
 
Ola Ellnestam
Author
Greenhorn
Posts: 10
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lokesh --

Using The Mikado Method is great way to surface dependencies and it doesn't really matter if they are structural dependencies in code or things you need to take care of before something else can be done. I.e what needs to happen before a new feature is complete.

If you use it to 'drive' new features your graph might be a bit more exploratory, change more often and contain some guesswork, but not necessarily so. You can actually be very strict when you develop new features and do a lot of reverting. But usually the code is a bit more forgiving when you add to it.

So the short answer is; Yes, it can be used for new features as well as restructuring and regaining control of a messy code base.

//Ola
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic