I'm trying to convert a example code of an eCommerce Application from Java to Python to better understand this principle. Here is the Java code that ...
I'm trying to convert a example code of an eCommerce Application from Java to Python to better understand this principle. Here is the Java code that ...
I have an ERD Diagram of an E-commerce with the following entities Product , Tag , ProductTag,Category and other entities of course. I tried to con ...
I am new to developing clean codes and trying to discipline myself with principles. My application has 3 user entities and each user entities have dif ...
I'm practicing with command pattern and faced a problem. If I get an exception after executing a command, I need to repeat it 2 times (by adding it to ...
I have seen examples online about the Single Responsible principle. They always use IoC/DI as an example. They move the code from class A to class B a ...
I hope somebody can explain me some kind of solution:) I've been working on app UI using Flutter and there are 2 types of a button in that app design ...
Typically, when we want to have testable application logic, we usually create controller that can looks like this: I think we do it because: Co ...
In Dart we add methods like toJson() and Model.fromJson() inside model, does this breaks MVVM or SOLID principles? ...
I was not sure if better to ask here, or on GameDev Stack Exchange. I believe it carries over to general programming. Context I am using Unity3D ...
. Answers to this question are eligible for a +50 reputation bounty. Re ...
The question should be language agnostic, but in this case C# is used. There are 2 classes: Context and Context<T>. Context contains MainObjec ...
I am studding SOLID principle and completed S.O , I got stuck at L which is (Liskov Substitution Principle) I have referred some many blogs but couldn ...
I've been using the SOLID Design Principles, in C# with Entity Framework for a while, and works great. Now I have a situation where I need to get data ...
I am not able to call someMethod, it gives error ReferenceError: Must call super constructor in derived class before accessing 'this' or returning ...
I'm doing a demo application and I need some guidance to find the best practice. So I planned to have 2 tables, with the following columns: I want ...
Lets say I have class called Connection. One of his members is object that is instance of another class, class VerificationCode. The class Verificati ...
I'm trying to apply solid Principles in react to have a clean code but it's so confusing. Let me please explain the problem. I have a component which ...
I'm trying to wrap my head around the SOLID principles and it seems like an interface doesn't necessarily block the creation or the use of methods not ...
i have a message object that i can add content to. The message can also be sent. Is it better to provide a "deep module" that hides the dispatcher fro ...
please help. I have a project where I need to change data source depends on some conditions.The problem is, I don't know how to do it by clean-archite ...