How to deal with code reuse philosophy?
I constantly find myself thinking about code reuse when starting a new project.
Is an Inner Function Justified in this Situation
I’m new to the functional programming concepts in C#, but I have some experience with higher order functions via Haskell, Scala, Python and Ruby. I’m currently going through an old .NET 2.0 codebase with a LOT of duplication in it. Most of it is simple “copy/paste” with a few variables changed. I’m trying to condense as much of this as possible.
How do you break out of the role of a code maintainer? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
How to unit test a function that is refactored to strategy pattern?
If I have a function in my code that goes like:
What do I need to learn to decide on rename/recompile source package names because of company rebranding?
My company is currently at a rebranding process and the brand names have been used in the sources’ package names but these names are only visible to developers who maintain this code so nobody from project management is really interested in changing them considering also that it would imply the recompiling of several old components.
Is there such thing like a “refactoring/maintainability group” role in software companies?
So, I work in a company that does embedded software development, other groups focus in the core development of different products’ software and my department (which is in another geographical location) which is located at the factory has to deal with software development as well, but across all products, so that we can also fix things quicker when the lines go down due to software problems with the product.
How do I break down and plan a personal programming project? [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago. I’ve just started a programming job where I’m […]
Breaking up a large PHP object used to abstract the database. Best practices?
Two years ago it was thought a single object with functions such as $database->get_user_from_id($ID)
would be a good idea. The functions return objects (not arrays), and the front-end code never worries about the database.
Replacing out parameters with struct
I’m encountering a lot of methods in my project that have a bunch of out parameters embedded in them and its making it cumbersome to call the methods as I have to start declaring the variables before calling the methods.
Introduce unit testing when codebase is already available [duplicate]
Possible Duplicate:
Best practices for retrofitting legacy code with automated tests