home.social

#designpatterns — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #designpatterns, aggregated by home.social.

fetched live
  1. The spinning beach ball is a design pattern that regularly does my head in.

    The original idea was that the spinning of the beach ball would tell you that the program wasn't hanging, or frozen, and would eventually get there. But almost nobody bothers to test that it actually does this in their software. I suspect that in some cases, the resources tied up in animating the beach ball are what's actually caused the program to hang 🙄

    (2/2)

    #InterfacePatterns #DesignPatterns #PatternLanguage

  2. The spinning beach ball is a design pattern that regularly does my head in.

    The original idea was that the spinning of the beach ball would tell you that the program wasn't hanging, or frozen, and would eventually get there. But almost nobody bothers to test that it actually does this in their software. I suspect that in some cases, the resources tied up in animating the beach ball are what's actually caused the program to hang 🙄

    (2/2)

    #InterfacePatterns #DesignPatterns #PatternLanguage

  3. Ah, another riveting 31-minute read on how to turn your life into a software engineering project, complete with design patterns and backend jobs. 🤖 Because who wouldn't want to optimize their existence with a harness layer for core intelligence? 🔧 Just don't forget to cite your *self-improvement* sources! 📚
    lilianweng.github.io/posts/202 #softwareengineering #selfimprovement #lifeoptimization #designpatterns #backendjobs #HackerNews #ngated

  4. Ah, another riveting 31-minute read on how to turn your life into a software engineering project, complete with design patterns and backend jobs. 🤖 Because who wouldn't want to optimize their existence with a harness layer for core intelligence? 🔧 Just don't forget to cite your *self-improvement* sources! 📚
    lilianweng.github.io/posts/202 #softwareengineering #selfimprovement #lifeoptimization #designpatterns #backendjobs #HackerNews #ngated

  5. Learn everything you need to know about Design Patterns via these 172 free HackerNoon blog posts. hackernoon.com/172-blog-posts- #designpatterns

  6. Learn everything you need to know about Design Patterns via these 172 free HackerNoon blog posts. hackernoon.com/172-blog-posts- #designpatterns

  7. Are GoF design patterns becoming obsolete? Modern Java has replaced parts of Factory, Strategy, Visitor & more with features like lambdas, records, sealed interfaces and pattern matching. Learn with Andreas Jürgensen when classic design patterns still add value—and when modern Java already provides the better solution. Read now: javapro.io/2026/07/23/are-clas

    #Java #DesignPatterns #SoftwareArchitecture #CleanCode

  8. Are GoF design patterns becoming obsolete? Modern Java has replaced parts of Factory, Strategy, Visitor & more with features like lambdas, records, sealed interfaces and pattern matching. Learn with Andreas Jürgensen when classic design patterns still add value—and when modern Java already provides the better solution. Read now: javapro.io/2026/07/23/are-clas

    #Java #DesignPatterns #SoftwareArchitecture #CleanCode

  9. CW: Solution Architecture, User Stories & Design Patterns

    I've been to many of these meetings with the manager who, with exhausted eyes connected to their tired non-technical brain, looks at the architects with the "this is a you problem"-look and dismisses the whole idea. #SolutionArchitecture #UserStories #DesignPatterns

  10. Dependency injection isn't complex - it's just passing dependencies as parameters instead of creating them inside functions. Makes testing easier because you can pass mock objects. #DesignPatterns

  11. Dependency injection isn't complex - it's just passing dependencies as parameters instead of creating them inside functions. Makes testing easier because you can pass mock objects. #DesignPatterns

  12. Favour composition over inheritance. Instead of deep class hierarchies, build objects by combining smaller, focused components. Easier to test, modify, and reason about. #DesignPatterns #CleanCode

  13. Favour composition over inheritance. Instead of deep class hierarchies, build objects by combining smaller, focused components. Easier to test, modify, and reason about. #DesignPatterns #CleanCode

  14. The Facade pattern provides a simple interface to complex subsystems. Instead of exposing 10 classes, create one that handles the common use cases. Simplifies client code significantly. #DesignPatterns #SoftwareEngineering

  15. The Facade pattern provides a simple interface to complex subsystems. Instead of exposing 10 classes, create one that handles the common use cases. Simplifies client code significantly. #DesignPatterns #SoftwareEngineering

  16. Not every pattern improves a system. A design pattern applied without understanding often adds more complexity than value. The best pattern is the one that solves a real problem and disappears into the background.

    Based on “Patterns Compact” by Karl Eilebrecht. #SoftwareArchitecture #DesignPatterns #Engineering

    Photo by Amsterdam City Archives on Unsplash

  17. Good software isn't just about objects it's about how they collaborate.

    In the final part of our series, explore Strategy, Command, Observer, State, and Null Object patterns, plus how Rails applies them in real-world applications.

    rubystacknews.com/2026/06/30/d

    #ruby #rails #designpatterns #programming

  18. Good software isn't just about objects it's about how they collaborate.

    In the final part of our series, explore Strategy, Command, Observer, State, and Null Object patterns, plus how Rails applies them in real-world applications.

    rubystacknews.com/2026/06/30/d

    #ruby #rails #designpatterns #programming

  19. The Repository pattern isolates data access logic from business logic. Your business code shouldn't know if data comes from MySQL, PostgreSQL, or a file. Makes testing and changes easier. #SoftwareEngineering #DesignPatterns

  20. The Repository pattern isolates data access logic from business logic. Your business code shouldn't know if data comes from MySQL, PostgreSQL, or a file. Makes testing and changes easier. #SoftwareEngineering #DesignPatterns

  21. Classic design patterns don't disappear in Ruby they become simpler.

    Discover how Factory, Builder, Adapter, Decorator, Proxy, and Facade are implemented the Ruby way in Part 2 of our series.

    rubystacknews.com/2026/06/28/d

    #ruby #rails #designpatterns #programming

  22. Classic design patterns don't disappear in Ruby they become simpler.

    Discover how Factory, Builder, Adapter, Decorator, Proxy, and Facade are implemented the Ruby way in Part 2 of our series.

    rubystacknews.com/2026/06/28/d

    #ruby #rails #designpatterns #programming

  23. Design patterns aren't about copying code—they're about solving recurring design problems.

    In Part 1 of our new series, discover how Ruby simplifies (and sometimes eliminates) classic GoF patterns.

    rubystacknews.com/2026/06/25/d
    #ruby #rails #programming #designpatterns

  24. Viele #Java-Teams nutzen noch #DesignPatterns aus den 90ern — obwohl modernes #Java vieles davon direkt integriert hat. Andreas Jürgensen analysiert, wann Strategy, Visitor & Iterator noch sinnvoll sind & wann Streams, Records oder #Lambdas besser passen: javapro.io/de/sind-die-klassis

  25. Viele #Java-Teams nutzen noch #DesignPatterns aus den 90ern — obwohl modernes #Java vieles davon direkt integriert hat. Andreas Jürgensen analysiert, wann Strategy, Visitor & Iterator noch sinnvoll sind & wann Streams, Records oder #Lambdas besser passen: javapro.io/de/sind-die-klassis

  26. Understanding the Singleton pattern (GoF) is easy! 🧠

    Think of a building with many doors, but only ONE room inside. No matter which door you use, you step into the exact same space. 🚪🏢

    In code: Many access points, but only one shared instance.

    #DesignPatterns #Dev #Singleton