Programming Patterns: Difference between revisions
Cadrgtsecond (talk | contribs) |
Cadrgtsecond (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
A programming pattern is a commonly repeating ''pattern'' that is observed in source code. | A programming pattern is a commonly repeating ''pattern'' that is observed in source code. | ||
| Line 14: | Line 12: | ||
* [[Batching]] | * [[Batching]] | ||
* [[Immediate Mode Interfaces]] | * [[Immediate Mode Interfaces]] | ||
* [[VTables]] | |||
Latest revision as of 11:57, 25 November 2026
A programming pattern is a commonly repeating pattern that is observed in source code.
Most sources list them as "premade solutions" which is not a helpful way to think about them. The best patterns arise naturally as a result of Semantic Compression. All examples in this wiki of patterns must include examples of how they are derived via compression.
The patterns in this website do not focus on patterns specific to Object Oriented Programming, but rather mostly simple Imperative Programming and Functional Programming. This is why design has been omitted from the name of this page. You do not encounter a problem and "apply" a pattern to solve it, but rather, when you solve the problem, you will naturally end up rediscovering the pattern. It's not really a tool of design, but a tool of understanding.
Most of these patterns are well known in many circles. The goal here is to give them names, identify them, categorize them, and hence, perhaps, teach them.