4 ms·
Most “design patterns” are actually just workarounds for lack of expressiveness in old Java versions. In other languages or modern Java you can replace half of
by Too 5y ago
Most “design patterns” are actually just workarounds for lack of expressiveness in old Java versions.
In other languages or modern Java you can replace half of them with simple constructs. Factory pattern for example can be replaced with simple inline callbacks to anonymous functions. Same with many others.