#java
Read more stories on Hashnode
Articles with this tag
Let the subclass decide which class to instantiate. Factory method Pattern This is a continuation of the software design pattern series. You can...
Don't just instantiate a concrete class and use it straight away. You'll be regretting in the longer term Simple Factory Pattern This is a...
Writing readable and extendable code is magic. Be a magician. Anonymous (jk. It's me) Strategy pattern The strategy pattern helps to decide...
Hey. Do you want to convert the interface of a class into another interface the client expects. Try me, maybe? :D. -- Adapter pattern This is a...
Hey. Do you want to attach new behaviors to objects on the runtime? You can place these objects inside special wrapper objects which contains such new...
Hey. You can't initialize me, but you can get the only one instance of myself which is shared across your app by asking my static sub-routine. I can...