-
Recent Posts
Category Cloud
Blogroll
Serenity
Archives
- September 2017
- June 2017
- May 2017
- January 2017
- May 2016
- November 2015
- August 2015
- June 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- October 2014
- August 2014
- July 2014
- June 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- September 2013
- August 2013
- July 2013
- May 2013
- April 2013
- March 2013
- February 2013
- August 2012
- March 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
Meta
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
>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
>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
>Quality and Speed
>There are a couple of good blog entries on Quality and Speed. Ron Jefferies has an entry on why you can have both. Quality in your code, and timeliness to market. Uncle Bob has a follow up post in which … Continue reading
Posted in eclipse, refactoring
Leave a comment
>Testing Content Assistance Proposals Refactored
>In a follow up to the Testing Content Assistance Proposals article, Nitin found a couple of things I needed to tweak for working more efficiently with the Structured Source Editor and the Structured Document models. Use getModelForEdit(file) instead of getNewModelForEdit(file, … Continue reading
Posted in eclipse, refactoring, testing
2 Comments
>Testing Content Assistance Proposals
>The topic of how testable or untestable eclipse code is came up on #eclipse-dev last night. There are cases where the code is very testable, but in the vast majority of cases it’s difficult to figure out how and where … Continue reading
Posted in eclipse, refactoring, testing
1 Comment