I wonder how do programmers refactor code that is written in languages like Ruby, Python? Assuming yo开发者_开发问答u get code after a \'previous\' guy—so you cannot be sure about quality of te
I need some advice on how to work with legacy code. A while ago, I was given the task to add a few reports to a reporting app. written in Struts 1, back in 2005. No big deal, but the code is quite me
Specifically, for example, what is the best way to开发者_开发问答 refactor code to be used in the model class? In the MVC Pattern, the model should manipulate only the data stored in the database and
I\'ve inherited two fairly non-trivial codebases that uses spring for configuring the applications. Now I need to reconfigure the applications. But lots of the configuration is provided through autowi
I have inherited a C# code base; there are couple of classes that are implementing multiple interfaces and also have additional public methods. I want to refactor these classes such that implicit inte
Is there a way to automate the \"Removal & Sorting\" of \"using\" stateme开发者_StackOverflow中文版nts in Visual Studio 2008?See the (free) \"Power Commands\" extensions, that has a \"remove&s
I have a large C++ code base that contains a couple of functions for error logging that I\'m planning to rewrite, defined as follows;
I have a bunch of simple entity instances that I have serialized to a file.In the future, I know that the structure of these entities (ie, maybe I will rename Name to Header or something).The thing is
I\'ve got some legacy code that, instead of virtual functions, uses a kind field to do dynamic dispatch.It looks something like this:
I\'m devloping some library classes for flocking/steering behaviours on large numbers of objects (2000+). I\'m finding that at < 500 instances, performance is reasonable. As the numbers increase, f