Answer the question
In order to leave comments, you need to log in
When to learn design patterns?
Hello, I'm currently in the beginner stage and working as a private for [company name]. I am engaged in the fact that I write mainly client code, i.e. I use api clients, write bots, and projects are usually small (in general, backend). Does it make sense for me to learn design patterns? If yes, why? If not, how do you know when the time has come? Well, what to look for before teaching them? (clean code, refactoring, language mechanics, frameworks)
PS I use frameworks (laravel), I understand that many patterns are used there, but their ignorance does not prevent me from writing on it yet.
Answer the question
In order to leave comments, you need to log in
When you become middle, and maybe later. Patterns are not for juniors.
Patterns are mostly used in OOP, if you don't use it, it's worth understanding why. If you do not know - study, and there are already patterns. If there is simply nowhere, then hammer it in for now.
I allow you to read the book https://ru.wikipedia.org/wiki/Design_Patterns
In addition, I do not forbid using them and searching in the code
I use frameworks (laravel), I understand that many patterns are used there, but their ignorance of writing on it does not bother me yet.The trick is that you are already using the patterns, even though you don't know their names.
when you go to an interview to "sparkle with knowledge"
I regularly go to interviews to "lift my tone" - everyone there constantly asks me about patterns. I had to read about them - I did not endure anything new for myself. someone (who knows, but I don’t bother memorizing) described them quite ordinary programming techniques
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question