14

Advanced Programming Patterns

Although computer science as a scientific field is pretty new, being less than 80 years old, many smart people have studied it. This means that most programming problems have already been encountered in one way or another. These are problems such as how to connect parts of a program without them being hardwired or how to create and destroy thousands of objects, such as bullets for example, without slowing down a game.

These smart people, often called software architects, came up with smart solutions that solve these problems in an elegant manner. Then, they realized that they could generalize these solutions into a sort of recipe, a template that others could use too. This is what we call a programming pattern. ...

Get Learning GDScript by Developing a Game with Godot 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.