All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Semantic Compression: A Different Approach to Programming Beyond Object-Oriented Design

By

tosh

5mo ago· 15 min readenInsight

Summary

The article introduces the concept of "semantic compression" as an alternative approach to traditional object-oriented programming. It critiques the common practice of creating classes for every noun in a problem domain (like 'Employee' and 'Manager' for a payroll system) and suggests that code should be approached with a mindset toward compressing it semantically rather than rigidly following object-oriented patterns. The piece appears to be a programming philosophy article that challenges conventional C++ and object-oriented design practices.

Key quotes

· 4 pulled
We all know how to program in C++, don't we? I mean, we've all read a selection of wonderful books by the gaggle of bearded fellows who defined the language in the first place
First, you look at the real world problem — say, a payroll system — and you see that it has some plural nouns in it: 'employees', 'managers', etc. So the first thing you need to do is make classes for each of these nouns.
But really, both of those are just people.
An introduction to the idea that code should be approached with a mindset towards compressing it semantically, rather than orienting it around objects.
Snippet from the RSS feed
An introduction to the idea that code should be approached with a mindset towards compressing it semantically, rather than orienting it around objects.

You might also wanna read