<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0" -->

---
title: I switched to OOP, it's better! | daily.dev
description: A satirical take on over-engineering with OOP in C++. The author parodies developers who over-apply object-oriented principles by building a Snake game with...
canonical: https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I switched to OOP, it's better! | daily.dev
og:description: A satirical take on over-engineering with OOP in C++. The author parodies developers who over-apply object-oriented principles by building a Snake game with...
og:url: https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0
og:image: https://api.daily.dev/og/posts/SyitRidm0.png
og:image:alt: I switched to OOP, it's better!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I switched to OOP, it's better!

**[Low Level Game Dev](https://daily.dev/sources/lowlevelgamedev)** · 4 min read · 9 upvotes · 5 comments

## Summary

A satirical take on over-engineering with OOP in C++. The author parodies developers who over-apply object-oriented principles by building a Snake game with ~100 classes, wrapping primitive types like bool in deep inheritance hierarchies, using singletons to 'eliminate globals', inventing absurd design principles (SOLIDPENIS), achieving overnight compile times, and ending up with a Minecraft clone that can only print 'Hello World' after 100k lines of code and 2 months of team effort. The piece mocks cargo-cult OOP, excessive abstraction, and the misapplication of SOLID principles.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=p0ibKUGR2bg>

## Community discussion

Top comments from developers on daily.dev.

**@devmandan** · 1 upvotes

> In 22 years of development, I've never seen the term `(SOLIDPENIS)`, and I'm scared to look it up...

**@andradei** · 0 upvotes

> Not better. Different. It's easier to abuse and easier to get an over 3-level deep inheritance chain on a bunch of classes that require more jumping around than using composition of structs + functions.
>
>
> I some cases it absolutely is better... at least that what I remember. It's been a hot second since I last used OOP.

## Similar posts on daily.dev

- [A defense of object-orientated programming](https://daily.dev/posts/a-defense-of-object-orientated-programming-topcm5gce) · Lobsters · 0 upvotes · 1 comments
- [Fifty Shades of OOP](https://daily.dev/posts/fifty-shades-of-oop-o9n8jaztw) · Lobsters · 1 upvotes · 0 comments

---

Tags: [#game-development](https://daily.dev/tags/game-development), [#c](https://daily.dev/tags/c)

[View this post on daily.dev](https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I switched to OOP, it's better!","url":"https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0"},"datePublished":"2026-04-01T14:05:57.132Z","dateModified":"2026-04-01T14:06:18.693Z","description":"A satirical take on over-engineering with OOP in C++. The author parodies developers who over-apply object-oriented principles by building a Snake game with...","image":"https://i.ytimg.com/vi/p0ibKUGR2bg/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/p0ibKUGR2bg/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Low Level Game Dev","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Low Level Game Dev","logo":"https://media.daily.dev/image/upload/s--Mggt4-BY--/f_auto/v1724390809/logos/lowlevelgamedev","url":"https://daily.dev/sources/lowlevelgamedev"},"commentCount":5,"discussionUrl":"https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":9},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":5}],"keywords":"game-development,c","timeRequired":"PT4M","video":{"@type":"VideoObject","name":"I switched to OOP, it's better!","description":"A satirical take on over-engineering with OOP in C++. The author parodies developers who over-apply object-oriented principles by building a Snake game with...","thumbnailUrl":"https://i.ytimg.com/vi/p0ibKUGR2bg/sddefault.jpg","uploadDate":"2026-04-01T14:05:57.132Z","duration":"PT4M","url":"https://api.daily.dev/r/SyitRidm0","embedUrl":"https://www.youtube.com/embed/p0ibKUGR2bg"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Low Level Game Dev","item":"https://daily.dev/sources/lowlevelgamedev"},{"@type":"ListItem","position":3,"name":"I switched to OOP, it's better!"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/i-switched-to-oop-it-s-better--syitridm0","comment":[{"@type":"Comment","text":"In 22 years of development, I’ve never seen the term (SOLIDPENIS), and I’m scared to look it up…","datePublished":"2026-04-08T10:08:18.772Z","url":"https://daily.dev/posts/SyitRidm0#c-VbA9bzUoZ","author":{"@type":"Person","name":"Daniel","url":"https://daily.dev/devmandan","image":"https://media.daily.dev/image/upload/s--ypn2TBF9--/f_auto/v1786619820/avatars/avatar_qDApMJOupymFKtjAmmtB4?_a=BAMAMicg0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Not better. Different. It’s easier to abuse and easier to get an over 3-level deep inheritance chain on a bunch of classes that require more jumping around than using composition of structs + functions.\nI some cases it absolutely is better… at least that what I remember. It’s been a hot second since I last used OOP.","datePublished":"2026-04-08T02:26:39.162Z","url":"https://daily.dev/posts/SyitRidm0#c-zaBusrrit","author":{"@type":"Person","name":"Isaac de Andrade","url":"https://daily.dev/andradei","image":"https://avatars.githubusercontent.com/u/2653546?v=4"}}]}
```

