<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cadrgtsecond.xyz/index.php?action=history&amp;feed=atom&amp;title=Semantic_Compression</id>
	<title>Semantic Compression - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cadrgtsecond.xyz/index.php?action=history&amp;feed=atom&amp;title=Semantic_Compression"/>
	<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Semantic_Compression&amp;action=history"/>
	<updated>2026-11-26T07:55:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://wiki.cadrgtsecond.xyz/index.php?title=Semantic_Compression&amp;diff=8&amp;oldid=prev</id>
		<title>Cadrgtsecond: Created page with &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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cadrgtsecond.xyz/index.php?title=Semantic_Compression&amp;diff=8&amp;oldid=prev"/>
		<updated>2026-11-25T12:11:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Semantic compression is an approach to designing abstractions.  Traditionally, techniques like &lt;a href=&quot;/index.php?title=Object_Oriented_Programming&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Object Oriented Programming (page does not exist)&quot;&gt;Object Oriented Programming&lt;/a&gt; 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;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&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 &amp;#039;&amp;#039;actually&amp;#039;&amp;#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&amp;#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>
</feed>