How to add new new features into an existing legacy class with thousands of lines in a 5-10 developer team
There is a legacy class containing thousands of lines, inside which each method has also hundreds or even thousands of lines. My task is to add a new complex feature to an existing class.
In Unit testing, How to abstract a dependency of Subject Under Test?
Disclaimer: I am learning unit testing. I am also kind of beginner in object oriented design.
Is there a software quality metric related to side effects?
In large systems there are often code paths that modify state or produce side effects that other code comes to depend on. This makes it hard to safely change code without understanding the whole system, because changing the order of function calls or operations could change the behavior. Is there a software quality metric that measures or correlates with this kind of issue?
Does the use of mongodb enhance extending/changing database driven applications?
When an application is created which need to store data, an SQL database is used very often.
So did I in a lot of asp.net applications. The resulting applications have often an ORM like the entity framework and maybe a business layer.
Does the use of mongodb enhance extending/changing database driven applications?
When an application is created which need to store data, an SQL database is used very often.
So did I in a lot of asp.net applications. The resulting applications have often an ORM like the entity framework and maybe a business layer.
Which is the most practical way to add functionality to this piece of code?
I’m writing an open source library which handles hexagonal grids. It mainly revolves around the HexagonalGrid
and the Hexagon
class. There is a HexagonalGridBuilder
class which builds the grid which contains Hexagon
objects. What I’m trying to achieve is to enable the user to add arbitrary data to each Hexagon
. The interface looks like this:
Which is the most practical way to add functionality to this piece of code?
I’m writing an open source library which handles hexagonal grids. It mainly revolves around the HexagonalGrid
and the Hexagon
class. There is a HexagonalGridBuilder
class which builds the grid which contains Hexagon
objects. What I’m trying to achieve is to enable the user to add arbitrary data to each Hexagon
. The interface looks like this:
Which is the most practical way to add functionality to this piece of code?
I’m writing an open source library which handles hexagonal grids. It mainly revolves around the HexagonalGrid
and the Hexagon
class. There is a HexagonalGridBuilder
class which builds the grid which contains Hexagon
objects. What I’m trying to achieve is to enable the user to add arbitrary data to each Hexagon
. The interface looks like this:
Which is the most practical way to add functionality to this piece of code?
I’m writing an open source library which handles hexagonal grids. It mainly revolves around the HexagonalGrid
and the Hexagon
class. There is a HexagonalGridBuilder
class which builds the grid which contains Hexagon
objects. What I’m trying to achieve is to enable the user to add arbitrary data to each Hexagon
. The interface looks like this:
Usage of magic strings/numbers [closed]
Closed 10 years ago.