Goto Design Pattern #3
It’s been a while since my first post on this topic, where I presented a genuine situation where goto is the most reasonable solution. I then posted a follow-up showing a real-life example (well, for those of us using the Win32 API from assembly language). There was some discussion and alternate suggestions involving massively generic [...]
How To Use Design Patterns Correctly
Short answer: as comments. The standard definition of a design pattern is “a general reusable solution to a commonly occurring problem in software design,” but a better definition is “a good title with a useful description and a pile of other rubbish.” Take “Singleton” for example. A singleton is a class that has one instance [...]
