Thursday, May 27, 2010

Refactoring

While I was working on the cargo functionality yesterday, I realized I introduced a fairly fundamental database design error when I added the ability for ships to land at colonies. This led to a problem where ships could attempt to transfer cargo down to the colony while they were taking off from the colony. I could have hacked around it, but I decided to go ahead and rework the database and the code, which meant I had to refactor about 5 pages all together.

No comments:

Post a Comment