Category Archives: refactoring

Refactoring: Maintainable Web Services

One of the problems I have with WSDL based web services is the fact that operations are typically generated into one big interface file that must be implemented.   I’ve seen WSDLs with 50 to 70 operations, and this leads … Continue reading

Posted in clean code, craftsmanship, eclipse, refactoring, turmeric | 3 Comments

>The Simplest Thing

>There is a great page on Ward Cunningham’s Wiki page entitled “Do the Simplest thing that Could Possibly Work“. Often times we try to over complicate items or don’t take the time to do the simplest thing. I recently had … Continue reading

Posted in build, eclipse, refactoring, testing, xml | Leave a comment

>Coding Style Cramps

>I recently rewatched “How to Design Good APIs and Why it Matters” (youtube video embedded below). http://www.youtube-nocookie.com/v/aAb7hSCtvGw&hl=en_US&fs=1&border=1 There are many lessons that can be learned from designing a good api, one of the tips is to make sure that your … Continue reading

Posted in clean code, craftsmanship, eclipse, refactoring, xml | 2 Comments

>Refactoring: Leveraging Polymorphism

>While working on some enhancements to bring the PsychoPath Processor’s implementation of the ElementTest and AttributeTest methods into compliance with the spec, I ran across the following bit of code: if (ktest instanceof DocumentTest) _type_class = DocType.class;else if (ktest instanceof … Continue reading

Posted in eclipse, refactoring, testing, xml, xpath | 1 Comment

>Say What?!?!!!

>I wrote the other day about some Testing Cramps. One of the comments in regards to the post was why didn’t I just write the tests and contribute them back? The thing is I have done so for some projects, … Continue reading

Posted in eclipse, refactoring, testing, xml, xpath, xslt | 1 Comment

>Testing Cramps

>At times it is very easy to tell when some code is not written using techniques like Test Driven Development. In particular when I see classes that make liberal use of protected or private inner classes. Now there are valid … Continue reading

Posted in eclipse, refactoring, testing | 3 Comments

>Manifesto for Software Craftsmanship

>Over the years, I’ve dealt with some pretty ugly code. I’ve contributed my fair share especially when I was starting out in this field 15 years ago. Over the years though, I’ve learned that just getting it working is not … Continue reading

Posted in agile, eclipse, refactoring, scrum, xml | 3 Comments