Gang Of Four Stackoverflow