Do I need to learn design patterns?

I want to learn how to program with opengl (actually I want to learn about graphics, gpu and hpc in the future), a friend suggested that I read the GoF book (design patterns), and then read something about Ogre3d or Qt or Sdl, for example. .. I asked about it because I recently read a book and I want to improve my knowledge ... are there any design patterns and then learn about opengl?

+5
source share
7 answers

Design patterns have nothing to do with graphical programming. They are widely applicable, since you can solve many problems that usually arise during programming. I need to address this very good question here: How do you know when to use design templates? .

My personal opinion is that you should not dive into design patterns before accumulating some programming experience in the first place. To get designer patters, you need to have direct experience with the problems that they will help you solve (for someone who never needs fire, it will be difficult to understand the usefulness of matches).

Start with a few introductory texts, then acquire some skills (in graphics, as this is your area of ​​choice), and then read the GoF book.

+11

OpenGL, , . , - , GoF .

+4

. opengl.

, , . Gang of Four - .

+2

GoF , , . , , - , , - .

, GoF, , . , .

, - ; , ", ", "EventMachine - ", .

+2

, . , GoF . , , , , .

, . , "Command Pattern", , , , , , ( - ).

, , , . " ", , , , , , , . , .

+2

, .

- .

? . , ? . , , .

, . , - , . " " - , . , "", .

, , .

+2

No. Design patterns are not a prerequisite for learning programming information. They are just what you need to know.

Since understanding patterns will come only from experience, it is recommended that you have a real life experience before thinking about patterns.

+1
source

All Articles