The Long Refactoring Slog…

Posted: February 26, 2011 in Uncategorized

Do you ever decide to refactor some part of your software for all the right reasons, only to discover the incredible drugery of refactoring an API or Service that is used a LOT?

Yuck!

I’m going through that right now.  My Flex app uses popup windows like many UI’s.  By default, you can’t guarantee that more than one popup won’t be created unless you explicitly write code for it.  While it doesn’t happen that more than one pops up very often, when it does it can be confusing to the user or worse if your code isn’t expecting it.  The answer is a utility class that checks a list and just doesn’t allow more than one to popup at a time.  But, if you have a lot of popups, that means a LOT of code has to be edited.

Sigh…

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