design-principles
Does using virtual methods violates LSP( L part of SOLID principles) or there are some exceptions? [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. 开发者_如何学C[详细]
2023-01-09 01:27 分类:问答Java - Should I use a field or a class for the problem as follows:
I have two tables in the DB FuelStation (fuel_station_id: int (PK), fuel_station_name: varchar, fuel_brand_id: int(FK))[详细]
2023-01-04 05:56 分类:问答Concrete Types or Interfaces for return types?
Today I came to a fundamental paradox of the object programming style, concrete types or interfaces. Whats the better election for a method\'s return type: a concrete type or an interface?[详细]
2022-12-27 19:25 分类:问答Does the Liskov Substitution Principle apply to subtype which inherited from abstract class?
loosely speaking, Liskov Substitution Principle states that a derived class can be substitute in place of the base class without affecting the user.[详细]
2022-12-19 20:50 分类:问答What are the most important structured software design principles? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2022-12-18 16:50 分类:问答Strategy Pattern - multiple return types/values
We are working on an image processing project using C# and EmguCV. Our team is composed of 3 people. To make faster progress, the 3 of us work on different sub-problems or experiment with different al[详细]
2022-12-11 05:22 分类:问答