D
D
dkfrmmnt2021-03-16 09:32:03
Design patterns
dkfrmmnt, 2021-03-16 09:32:03

Are there design patterns that are not described in GoF?

GoF is often recommended for learning design patterns. Are there other alternative sources of information? If so, do they have something that GoF doesn't?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mletov, 2021-03-16
@mletov

In addition to the patterns described in GoF, they also have a wagon and a small cart. Moreover, some patterns are universal for any programming language/technology, and some are more often used in some languages/technologies than in others, or at least are heavily modified almost beyond recognition to the syntax of a particular language compared to the classical description.
Therefore, it makes sense to google "design patterns +% programming language of interest%", because, as far as I remember, GoF provides examples in Java, and if you write, say, in JS, then the syntax is quite different, and one-to-one transferring patterns from language to language is quite problematic. Although if from Java to C # - then why not.
Well, keep in mind that languages ​​themselves evolve, new constructs appear in languages ​​that allow you to rewrite classical patterns in a more up-to-date syntax. Teplyakov's book about patterns with C# confirms this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question