2024-04-19 - Design Patterns - Chewing the Fat 📈 #8379
Replies: 59 comments 2 replies
-
Design Patterns did not really interest me in school but then I realized I was following them without really knowing it 😁 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
DI is cool but I don't necessary think that it's the most important. |
Beta Was this translation helpful? Give feedback.
-
Dependency injection - it usually greatly improves the testability of a class and allows me to be more confident in its correctness
I've not really touched the specification pattern so I'd be interested to see how that fits in |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Spaghetti - easiest to improve on. Actual answer is I don't have 1 - the patterns are conceptual tools, many of them attending to different problems. I try to use the pattern most applicable to the problem, with a bias towards patterns already in that code base when 2 patterns will provide similar benefits.
I find this a strange question. I've used nearly all of the patterns listed and the choice of pattern would be dependent on the problem rather than the pattern I wanted to implement. |
Beta Was this translation helpful? Give feedback.
-
Would be good to devote an SSW training course to patterns and how they're applied to our reference solutions |
Beta Was this translation helpful? Give feedback.
-
Almost fell asleep watching the video. Maybe it all made sense if you knew all those design patterns already but if you didn't then either the rule or the video - otherwise I found it a pretty boring one. |
Beta Was this translation helpful? Give feedback.
-
Does not make much sense to, but I'm not a dev :-) |
Beta Was this translation helpful? Give feedback.
-
NA - I'm not a developer |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
My favourite one is DI - Keen to see more State Pattern, and how to compromise it with the performance impact on a large scale :) |
Beta Was this translation helpful? Give feedback.
-
Not a dev sounds interesting... until the monotone puts me to sleep. Im sure someone can fix that. |
Beta Was this translation helpful? Give feedback.
-
A well-designed, fluent API can make builder patterns, factories, queries, DIs, etc., look much more readable and maintainable. var obj = new BuilderThing()
.AddConfig(...)
.RegisterXY(...)
.Create()
.Run(); This pattern can make complex code look easy to use.
Although, @wicksipedia mention of Flyweight does make me curious. |
Beta Was this translation helpful? Give feedback.
-
Favorite design pattern - Factory pattern, this is the first pattern I know of |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
N/A - I'm not a developer 🤣 |
Beta Was this translation helpful? Give feedback.
-
DI
Mediator |
Beta Was this translation helpful? Give feedback.
-
Dependency Injection
Facade |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
No favorite - I use them case by case
None in particular. The next one I use will be the next one I think I need |
Beta Was this translation helpful? Give feedback.
-
Inversion of Control is simple, yet incredibly powerful. Also really like the MediatR pattern.
I've used many of these patterns, but the State pattern seems like the most interesting one that I haven't tried yet. |
Beta Was this translation helpful? Give feedback.
-
This is way over my head, but do see how important using a Design Pattern can be. |
Beta Was this translation helpful? Give feedback.
-
Dependency Injection
State Pattern |
Beta Was this translation helpful? Give feedback.
-
What's your favorite design pattern? |
Beta Was this translation helpful? Give feedback.
-
Hey SSWers,
Discuss below ⬇️
https://www.ssw.com.au/rules/common-design-patterns
Beta Was this translation helpful? Give feedback.
All reactions