Design Patterns - do you really need it? part 2
I finally finished my second pattern refactored. I think you will like to see how you can avoid creating classes to build a strategy pattern. I’m not in a fight against design patterns, but I agree with the Java Champion Venkat Subramaniam: “As more powerful a language is, less we talk about Design Patterns as these naturally became features of the language".
Let’s dive into Java features and build clean, concise and tested code. If you do that, doesn’t matter if you are using a pattern or not.
Here is the link for the new article! Strategy Pattern revisited in Java 21
Happy coding!