B
B
Benderm2019-06-09 15:34:02
Design patterns
Benderm, 2019-06-09 15:34:02

How to learn to use patterns?

Hello!
Tell me how to learn how to use programming patterns in real work. One study and cramming is not enough. How to come to the understanding that a certain design pattern is needed to solve a particular problem? Can you recommend any books or tutorials/articles.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan Filatov, 2019-06-09
@NYMEZIDE

It comes with experience. When you get a lot of bumps on real projects. Understanding will either come or not.
Whether or not to use patterns can be seen when you know all the technical specifications for the project, all its stages, you know where it will be integrated later and with what, what subsequent improvements and development of the project are planned.
Usually the architect knows and plans such things.

I
Ivan Vorobei, 2019-06-09
@ivanvorobei

Explore practical examples.
You can, of course, by trial and error - write a crutch that does not expand a couple of times, you will understand how to follow. time to do it right. But I recommend starting with practice.
Many tasks are stereotyped and there is already an Orthodox solution for them. For unique and complex tasks, you will have to design and combine .

S
sim3x, 2019-06-09
@sim3x

You do not need to implement patterns
You need to write minimal working code to solve tasks
After you learn how to write code sanely and have at least 5 years of practical experience, read a couple of books to get acquainted with the names of the blocks of code that you have been writing for 5 years

O
OnYourLips, 2019-06-09
@OnYourLips

Experience.
It's experience, not experience. You have to work with the best code in the ecosystem. Try to start with Laravel, and then after mastering it and using it for a few months, switch to symphony. Then after six months, try to compare them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question