#OpenClosedPrinciple

Kerrick Long (code)kerrick@ruby.social
2025-03-16

New Blog Post!

Fizz Buzz has just enough complexity to demonstrate a principle that is usually tough to understand through toy examples: the open/closed principle.

kerrick.blog/tutorials/2025/fi

#blog #programming #WebDev #SoftwareEngineering #Software #Design #OOP #OpenClosedPrinciple #Metaprogramming #Ruby

Sico AxialSicoaxial
2024-11-20

@the_heruman@masto.es y por eso cuando estaba cerrado el señor M seguia dentro... Porque en realidad estaba abierto y cerrado a la vez, no como la caja de el gato de Schrödinger, que estaba cerrada... Y quizás voy a enlazar un hashtag que confunde un poco más y le hará gracia a alguien...

donthatedontkilldonthatedontkill
2024-07-16

That moment when you inherited a pile of spaghetti code and you said you'd only refactor enough just to understand what was happening but now that you've reorganized a bit and started developing, you realize you're going to end up rewriting 75% of the app.... :blobsweats:

Arnaud Langlandearnolanglade
2024-01-04

🌟 Open-Closed Principle: even if the definition is easy to understand, it is not always simple to understand

👩‍💻 The Open-Closed principle is one of the SOLID principles. This principle can help you write more flexible code and improve the maintenance of your applications.

🖼️ Picture: unsplash.com/@madze

🧵 More info 👇

Photo by Kiyota Sage on Unsplash:

https://unsplash.com/photos/brown-wooden-door-on-gray-concrete-wall-uSBlDa2BfK8
Arnaud Langlandearnolanglade
2023-11-14

📢 New blog post: "Open-Closed principle: Enhancing code modularity"

In my latest article, I explain the Open-Closed principle, one of the SOLID principles. Discover how this principle can help you write more flexible code and improve the maintenance of your applications. I also included a code refactoring example to illustrate my points.

Here is the link arnolanglade.github.io/open-cl

Feel free to share it. Feedback is welcome too!

Arnaud Langlandearnolanglade
2023-11-14

📢 New blog post: "Open-Closed principle: Enhancing code modularity"

In my latest article, I explain the Open-Closed principle, one of the SOLID principles. Discover how this principle can help you write more flexible code and improve the maintenance of your applications. I also included a code refactoring example to illustrate my points.

Here is the link arnolanglade.github.io/open-cl

Feel free to share it. Feedback is welcome too!

Photo by Kiyota Sage on Unsplash:

https://unsplash.com/photos/brown-wooden-door-on-gray-concrete-wall-uSBlDa2BfK8
2022-12-28

1/2: I'm brainstorming about implementing the #OpenClosedPrinciple architecturally for tool configuration & output modification. Two tools I use on a daily basis (#Ruby #Rspec and #Python #Pyright) have closed-won't-accept-PRs Issues for improvements that I care about. They're both rejected for the same reason: the tool works fine for the author, and the author doesn't see enough support behind the change to merit accepting a PR for the feature.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst