Talk:Refactoring

From Robowiki
Revision as of 06:26, 4 August 2009 by Rednaxela (talk | contribs) (Refactoring woes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Who else dislikes realizing doing some refactoring would be for the best, when they really have an urge to just want to get some functioning code out there? After some work on my melee bot today, I ended up coming to the conclusion that while my old enemy tracking framework I had in SaphireEdge didn't break with the less frequent scans of melee (and in fact my wave tracking code needed only a one line bugfix to support melee firing detection), it was poorly architectured to naturally support some of the things I wanted to do with interpolation of enemy ticks not scanned. Due to that I'm now rewriting large parts of my enemy tracking code. But man, I really don't want to, I just want to get something on the battlefield that works better than my old MiniSurreptitious. Who else knows this feeling? Any stories of refactoring woes?