3 ms·
Thats funny, the Strategy Pattern has always felt like a hack to work around Javas Fucking embarrassing lack of closures.
by tomjen3 16y ago
Thats funny, the Strategy Pattern has always felt like a hack to work around Javas Fucking embarrassing lack of closures.
- josephruscio 16y agoGoF wrote about the Strategy Pattern (and the rest of them) in 1994, so I'm pretty sure Java (first public release in 1995) was the least of their concerns at the time. And believe it or not, there are times when languages with closures are not an option.