For me the answer is No. Clients' needs are unpredictable. Trying to shape the classes for current clients' needs would make them less robust to futur ...
For me the answer is No. Clients' needs are unpredictable. Trying to shape the classes for current clients' needs would make them less robust to futur ...
There are 2 classes in the scenario under consideration, User and ConnectionRequest. The structures of the 2 classes are given below: User: full ...
When it comes to class diagrams, can an association or aggregation exist between two objects that are in composition with one base object? Example: C ...
This rings the "circular dependency" bell in my head. But I was wondering if there are known accepted use cases for this. Just to illustrate with som ...
Temperature is measured mainly in three units: in degrees Celsius, degrees Fahrenheit and in kelvins. It’s easy to convert any of them to the two o ...
I'm writing a hierarchy of classes of C++, let's say A, B inheriting A, C inheriting A, and D inheriting B. Now, all of these classes must have a met ...
I have an entity Question (abstract) in my project. It can be asked in English or Russian. In addition, it can be asked by a student or a non-student. ...
I need help with how the business logic architecture should look, I have two options. The first case gives flexibility, but according to logic, not al ...
I am implementing a operation helper class like: I am ending up with a lot of duplicate methods that only differ in small details. I want to offer ...
What I need is to get an Element in a certain index from the collection to do operations like Element::insertValues. It is a bad practice doing it a ...
I am currently studying an example from an online course to design a class diagram for a Library Management System. However, I am confused with this ...
I have a class diagram of my system that I made, the problem is I have a class that doesn't have any relation to another class inside the ecosystem. T ...
I'm working on a project(a game) which will have a board to play on. I want to make this board as generic as possible in order to be able to re-use t ...
Given a 'contract' of sorts that I want to implement, I want the code to tell the reader what the intent is allow the type checker to correct me ...
As per this answer, class template could be represented like this: Then how to represent the composition relationship with class template? For exa ...
I am currently learning UML. I looked everywhere but couldn't find an answer. Should the creator of an object be the one to always saves it in persist ...
I'am trying to create an UML class diagram for a simple game. I've three inheritance classes (NPC, Player, Monster) and they should interact with each ...
For a strictly internal class that is not intended to be used as part of an API provided to an external client, is there anything inherently evil with ...
I want to represent the following scenario in java code: A professor works in an office and can take a paid leave to carry out some scholarly act ...
Suppose the following baseline design: I have a class CarElement which holds properties and methods related to both visual representation and data mod ...