I have to following functions: public enum class SetMinMaxMode { Auto, // min and max is set based on the channel data
I have a class with a bunch of implicit operators. In the code below, only a few examples of the implicit operators are used. I\'m looking for any ideas how to refactor this, without making the SafeVa
I have about 30 data access classes and all of them contain a GetAll method with some parameters. My code in all of them looks like below:
I\'m trying to clean up some old code that I wrote to comply with Apple\'s guidelines on method naming etc. and encountered this. Basically, I have a button in Interface builder and a tapDown action c
Ok, I have this ruby script which opens a file and passes each line to the line_parser method. This method simply changes tabs for a couple of spaces. Here it is:
I\'m refactoring a big class that has a lot of checks for null all over the place into using the null object pattern. So far it\'s been an almost smooth change but I am having a couple of issues with
If I have a C# code like this: public class A { public string PropA { get; set; } public string PropB { get; set; }
I have the following two methods for a Number model. def track number = sanitize(tracking) case determine_type(number)
I have a couple of libraries that were targetting multiple platforms, of which some realtime ones that did/do not have decent STL support, let alone tr1 or C++11. This means everything uses the librar
There is a very large Visual Studio solution (almost 200 projects) which I need to refactor and restructure, merging and possibly dividing many of those projects, altering code...