3 ms·
If you think you need a "factory pattern" to write Space Invaders, there is something wrong. I'm close to absolutely certain no such design concept was involve
by kazinator 3y ago
If you think you need a "factory pattern" to write Space Invaders, there is something wrong.
I'm close to absolutely certain no such design concept was involved in the original.
- deleted 3y ago[deleted]
- Tomis02 3y agoIt's the result of 30 years of OOP and design patterns. When your brain gets infected with them you start looking for ways to spread the infection.
- wkjagt 3y agoNot sure if you’re joking, but in a way this feels very true to me. After a decade or so of doing OOP, I started doing a lot of 6502 assembly (for a home brew computer) and not applying OOP principles felt dirty at first. Same as not having 100% (or any for that matter) test coverage. I felt like I was cheating by doing things a simpler way. But then I started to really enjoy it and it felt liberating.
- mvdtnz 3y agoAt no point does the author say or even imply that you need the factory pattern to implement Space Invaders. Are we reading a different article?