Revised implementation of Strategy Pattern in Java
How Java 8 killed the Strategy Pattern
Published in
1 min readJul 2, 2019
By introducing lambda expression
in Java 8, many things have changed in Java world and now Java developers can write more concise code and also use functional patterns much easier.
I read a nice article about “How Scala killed the Strategy Pattern” by Alvin Alexander that compares an old…