Created page with "= Programming Patterns = 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 Orien..."
 
Line 13: Line 13:
* [[Boolean Flags]]
* [[Boolean Flags]]
* [[Batching]]
* [[Batching]]
* [[Immediate Mode Interfaces]]

Revision as of 11:53, 25 November 2026

Programming Patterns

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.