<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cadrgtsecond.xyz/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cadrgtsecond</id>
	<title>Vestibule Technical Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cadrgtsecond.xyz/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cadrgtsecond"/>
	<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Special:Contributions/Cadrgtsecond"/>
	<updated>2026-11-26T07:45:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Cat_and_Dog_examples&amp;diff=9</id>
		<title>Cat and Dog examples</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Cat_and_Dog_examples&amp;diff=9"/>
		<updated>2026-11-25T12:37:41Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: Created page with &amp;quot;A Cat and Dog example is an artificial example often inspired by real life objects used to teach programming, particularly Software Architecture, and particularly Object Oriented Programming  &amp;lt;pre&amp;gt; // Parent class class Animal{     void sound(){         System.out.println(&amp;quot;Animal makes a sound&amp;quot;);     } }  // Child class class Dog extends Animal{     @Override     void sound(){         System.out.println(&amp;quot;Dog barks&amp;quot;);     } }  // Child class class Cat extends Animal{...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A Cat and Dog example is an artificial example often inspired by real life objects used to teach programming, particularly Software Architecture, and particularly [[Object Oriented Programming]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// Parent class&lt;br /&gt;
class Animal{&lt;br /&gt;
    void sound(){&lt;br /&gt;
        System.out.println(&amp;quot;Animal makes a sound&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Child class&lt;br /&gt;
class Dog extends Animal{&lt;br /&gt;
    @Override&lt;br /&gt;
    void sound(){&lt;br /&gt;
        System.out.println(&amp;quot;Dog barks&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Child class&lt;br /&gt;
class Cat extends Animal{&lt;br /&gt;
    @Override&lt;br /&gt;
    void sound(){&lt;br /&gt;
        System.out.println(&amp;quot;Cat meows&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Driver class&lt;br /&gt;
public class Driver {&lt;br /&gt;
    public static void main(String[] args){&lt;br /&gt;
        Animal a = new Dog();&lt;br /&gt;
        a.sound();&lt;br /&gt;
        a = new Cat();&lt;br /&gt;
        a.sound();&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Other common examples include&lt;br /&gt;
* Various kinds of shapes&lt;br /&gt;
* Cars and Vehicles&lt;br /&gt;
&lt;br /&gt;
Of course, while these appear to be &amp;quot;real life examples&amp;quot;, they are completely silly and nothing like what we actually do in programming. And even in these examples, slight examination will lead one to discover members of the hierarchy such as &amp;lt;code&amp;gt;LandVehicleWithTwoWeels&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ShapeWithCorners&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;AnimalsWithFurAndWarmBloodButWhichDoNotGiveLiveBirth&amp;lt;/code&amp;gt;. Complex inheritance hierarchies do not survive the complexities of real life.&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Semantic_Compression&amp;diff=8</id>
		<title>Semantic Compression</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Semantic_Compression&amp;diff=8"/>
		<updated>2026-11-25T12:11:59Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: Created page with &amp;quot;Semantic compression is an approach to designing abstractions.  Traditionally, techniques like Object Oriented Programming focus on designing the structure of a program first, and then filling in the implementation. Most of the focus is on abstract notions of concern, intent, expression etc.  Semantic Compression is based on a different approach # Solve the problem in the stupidest and simplest way possible. ctrl-C ctrl-V is your friend. # Then, look through the code...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Semantic compression is an approach to designing abstractions.&lt;br /&gt;
&lt;br /&gt;
Traditionally, techniques like [[Object Oriented Programming]] focus on designing the structure of a program first, and then filling in the implementation. Most of the focus is on abstract notions of concern, intent, expression etc.&lt;br /&gt;
&lt;br /&gt;
Semantic Compression is based on a different approach&lt;br /&gt;
# Solve the problem in the stupidest and simplest way possible. ctrl-C ctrl-V is your friend.&lt;br /&gt;
# Then, look through the code and identify which portions &#039;&#039;actually&#039;&#039; repeat, and pull those out.&lt;br /&gt;
&lt;br /&gt;
A few caveats&lt;br /&gt;
* There is often more than one way to pull out [[Code Duplication]], see [[Programming Patterns]]. It is preferable to use weaker more constrained techniques such as [[Boolean Flags]] instead of more powerful techniques like [[VTables]]. This leads to the simplest abstraction that can get the job done.&lt;br /&gt;
* It is not necessary that the entire process happens in one session, or is even done by one person. It&#039;s possible that one person does the first step, leaves the code alone for several months(because nothing needs to be changed or worked on), and later on, someone comes along and performs step 2.&lt;br /&gt;
&lt;br /&gt;
One very nice property of semantic compression is that the abstractions derived from it end up being very practical, without the need for [[Cat and Dog examples]].&lt;br /&gt;
&lt;br /&gt;
Semantic Compression was coined in the following blog post by Casey Muratori. As mentioned above, Casey demonstrates his idea with a practical example, the Witness debug UI&lt;br /&gt;
&lt;br /&gt;
* [https://caseymuratori.com/blog_0015 Semantic Compression]&lt;br /&gt;
&lt;br /&gt;
The following blogs are also useful material. They continue the work on the debug UI system.&lt;br /&gt;
&lt;br /&gt;
* [https://caseymuratori.com/blog_0016 Complexity and Granularity]&lt;br /&gt;
* [https://caseymuratori.com/blog_0017 Defining a Single Enumerant]&lt;br /&gt;
* [https://caseymuratori.com/blog_0018 Type Filtering]&lt;br /&gt;
* [https://caseymuratori.com/blog_0019 Special Filters]&lt;br /&gt;
* [https://caseymuratori.com/blog_0020 Displaying Groups Hierarchically]&lt;br /&gt;
* [https://caseymuratori.com/blog_0021 Listener Panel Demonstration]&lt;br /&gt;
* [https://caseymuratori.com/blog_0022 The Source Code]&lt;br /&gt;
* [https://caseymuratori.com/blog_0023 Q &amp;amp; A]&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=7</id>
		<title>Programming Patterns</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=7"/>
		<updated>2026-11-25T11:57:18Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A programming pattern is a commonly repeating &#039;&#039;pattern&#039;&#039; that is observed in source code.&lt;br /&gt;
&lt;br /&gt;
Most sources list them as &amp;quot;premade solutions&amp;quot; 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 &#039;&#039;&#039;must&#039;&#039;&#039; include examples of how they are derived via compression.&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;design&#039;&#039; has been omitted from the name of this page. You do not encounter a problem and &amp;quot;apply&amp;quot; a pattern to solve it, but rather, when you solve the problem, you will naturally end up rediscovering the pattern. It&#039;s not really a tool of design, but a tool of understanding.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
* [[Zero is Initialized]]&lt;br /&gt;
* [[Command Buffers]]&lt;br /&gt;
* [[Boolean Flags]]&lt;br /&gt;
* [[Batching]]&lt;br /&gt;
* [[Immediate Mode Interfaces]]&lt;br /&gt;
* [[VTables]]&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=6</id>
		<title>Programming Patterns</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=6"/>
		<updated>2026-11-25T11:55:14Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: /* Programming Patterns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A programming pattern is a commonly repeating &#039;&#039;pattern&#039;&#039; that is observed in source code.&lt;br /&gt;
&lt;br /&gt;
Most sources list them as &amp;quot;premade solutions&amp;quot; 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 &#039;&#039;&#039;must&#039;&#039;&#039; include examples of how they are derived via compression.&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;design&#039;&#039; has been omitted from the name of this page. You do not encounter a problem and &amp;quot;apply&amp;quot; a pattern to solve it, but rather, when you solve the problem, you will naturally end up rediscovering the pattern. It&#039;s not really a tool of design, but a tool of understanding.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
* [[Zero is Initialized]]&lt;br /&gt;
* [[Command Buffers]]&lt;br /&gt;
* [[Boolean Flags]]&lt;br /&gt;
* [[Batching]]&lt;br /&gt;
* [[Immediate Mode Interfaces]]&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=5</id>
		<title>Programming Patterns</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=5"/>
		<updated>2026-11-25T11:53:24Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: /* Programming Patterns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Programming Patterns =&lt;br /&gt;
&lt;br /&gt;
A programming pattern is a commonly repeating &#039;&#039;pattern&#039;&#039; that is observed in source code.&lt;br /&gt;
&lt;br /&gt;
Most sources list them as &amp;quot;premade solutions&amp;quot; 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 &#039;&#039;&#039;must&#039;&#039;&#039; include examples of how they are derived via compression.&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;design&#039;&#039; has been omitted from the name of this page. You do not encounter a problem and &amp;quot;apply&amp;quot; a pattern to solve it, but rather, when you solve the problem, you will naturally end up rediscovering the pattern. It&#039;s not really a tool of design, but a tool of understanding.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
* [[Zero is Initialized]]&lt;br /&gt;
* [[Command Buffers]]&lt;br /&gt;
* [[Boolean Flags]]&lt;br /&gt;
* [[Batching]]&lt;br /&gt;
* [[Immediate Mode Interfaces]]&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=4</id>
		<title>Programming Patterns</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Programming_Patterns&amp;diff=4"/>
		<updated>2026-11-25T11:52:58Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: Created page with &amp;quot;= Programming Patterns =  A programming pattern is a commonly repeating &amp;#039;&amp;#039;pattern&amp;#039;&amp;#039; that is observed in source code.  Most sources list them as &amp;quot;premade solutions&amp;quot; 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 &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; include examples of how they are derived via compression.  The patterns in this website do not focus on patterns specific to Object Orien...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Programming Patterns =&lt;br /&gt;
&lt;br /&gt;
A programming pattern is a commonly repeating &#039;&#039;pattern&#039;&#039; that is observed in source code.&lt;br /&gt;
&lt;br /&gt;
Most sources list them as &amp;quot;premade solutions&amp;quot; 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 &#039;&#039;&#039;must&#039;&#039;&#039; include examples of how they are derived via compression.&lt;br /&gt;
&lt;br /&gt;
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 &#039;&#039;design&#039;&#039; has been omitted from the name of this page. You do not encounter a problem and &amp;quot;apply&amp;quot; a pattern to solve it, but rather, when you solve the problem, you will naturally end up rediscovering the pattern. It&#039;s not really a tool of design, but a tool of understanding.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
* [[Zero is Initialized]]&lt;br /&gt;
* [[Command Buffers]]&lt;br /&gt;
* [[Boolean Flags]]&lt;br /&gt;
* [[Batching]]&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Main_Page&amp;diff=3</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Main_Page&amp;diff=3"/>
		<updated>2026-11-25T11:38:46Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: /* Vestibule Technical Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User&#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Vestibule Technical Wiki ==&lt;br /&gt;
&lt;br /&gt;
The purpose of this wiki is to collect and collaborate on knowledge&lt;br /&gt;
of programming.&lt;br /&gt;
&lt;br /&gt;
Some general trends you will find include&lt;br /&gt;
* [[Imperative Programming]]&lt;br /&gt;
* [[Category Theory]]&lt;br /&gt;
* [[Data Oriented Design]]&lt;br /&gt;
* [[Array Programming]]&lt;br /&gt;
* [[Programming Patterns]]&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Main_Page&amp;diff=2</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Main_Page&amp;diff=2"/>
		<updated>2026-11-25T06:36:47Z</updated>

		<summary type="html">&lt;p&gt;Cadrgtsecond: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User&#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Vestibule Technical Wiki ==&lt;br /&gt;
&lt;br /&gt;
The purpose of this wiki is to collect and collaborate on knowledge&lt;br /&gt;
of programming.&lt;br /&gt;
&lt;br /&gt;
Some general trends you will find include&lt;br /&gt;
* [[Imperative Programming]]&lt;br /&gt;
* [[Category Theory]]&lt;br /&gt;
* [[Data Oriented Design]]&lt;br /&gt;
* [[Array Programming]]&lt;/div&gt;</summary>
		<author><name>Cadrgtsecond</name></author>
	</entry>
</feed>