I\'ve got a method I\'m calling expired? which is simply meant to check to see if its been more than 24 hours since my object has been updated, and if so return true. Here is my method, but although i
Need some help refactoring this if/else block that builds the conditions for a find query. if param开发者_开发百科s[:status] && params[:carrier]
I find myself doing this pretty开发者_高级运维 often.Currently I am cut/pasting the variable declaration, the property, the @synthesize, and usually also the release call in the dealloc method.That\'s
I am concerned that some of the classes in my app have methods that are defin开发者_运维百科ed but not called anywhere in the app.
Given the following code: status = row[COL_STATUS] if status == \"idle\": row[COL_EDITABLE] = True row[COL_FONTSTYLE] = pango.STYLE_NORMAL
I have received a legacy .Net c# solution with many class library projects to review, re-factor and reuse. This solution is not used anywhere and lying in the code junkyard. The solution is compiling
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
I find myself revisit areas of my project and refine them again. This usually happens when I begin something from scratch and as I understand i开发者_C百科t better my code and techniques become better
Are there frequent processes which the programmer will go through? Or does everyone have different c开发者_开发知识库oding habits?Often when it looks like I will be repeating some code or algorithm th
I\'m trying to find research/advice on a particular code refactoring pattern, but I\'m finding it hard to locate, since I\'m not sure whether there\'s a good name for it.It\'s very similar to factorin