Code

It May Already Be Too Late

I believe in writing quality, maintainable code. Yet, my daily working code base is something other than what one would consider to be joy. I admit there are well designed portions of the system, however, most of what I have to maintain is a web of code that has been weaved together using Object-Oriented Design and Procedural code. The more I consider this fact, it is the lack of unit tests that bother me the most. To make sense of the system at a high level, there is an Eclipse Plugin called X-Ray that creates a visual representation of your system. It is a nice tool to see where the packages and code boundaries exist. I am working on a specific set of product features that are not unit testable and it hurts. I and my colleague have made two deep dive attempts to write unit tests, mock of the functionality, unfortunately it may already be too late.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s