Answer the question
In order to leave comments, you need to log in
Are UML and design patterns the same thing?
What follows from what? In what order to use? What is primary, what is secondary? When should they be applied?
Answer the question
In order to leave comments, you need to log in
You are confusing warm with soft.
UML is a diagramming language used to draw classes and their relationships. It has nothing to do with programming patterns.
Programming patterns are an architectural solution to popular problems, so as not to reinvent the wheel, which is not related to the programming language. You just have a certain task, you come up with an algorithm that solves it. Patterns allow you not to invent an algorithm, but to look - all of a sudden, similar problems have already been solved before you, and there are suitable patterns. After that, in the desired language, you implement this pattern. And if the team is large, then when communicating with colleagues, you will not tell them the idea for an hour and a half, but simply name the name of the pattern and everyone who knows them will understand you perfectly.
UML is a graphic representation of classes (objects.....)
Design patterns are solutions to frequently occurring problems
Google is not destiny?
UML is a language. Patterns are templates. UML is used to describe the functional blocks of a software product, their interaction. Design patterns are variants of these very blocks and their interaction. UML is used incl. to describe patterns. Accordingly, you first choose a pattern, and on its basis describe the entire structure using UML.
UML is primary (class diagram how they interact with each other) [in order to immediately see the entire project. and not just the screen of code that is in front of you (a small part of the project)] a kind of standard between progarmists.
patterns are typical programming solutions (secondarily).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question