Download
week 10 class 3 patterns in review 2 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Week 10 Class 3 Patterns in Review (2) PowerPoint Presentation
Download Presentation
Week 10 Class 3 Patterns in Review (2)

Week 10 Class 3 Patterns in Review (2)

131 Vues Download Presentation
Télécharger la présentation

Week 10 Class 3 Patterns in Review (2)

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Week 10Class 3Patterns in Review (2) • Instructor evaluations • (You should have received a link via email) • Design Patterns • Threads • Final: • Monday 8:00 - 10:00 AM - S359 2014 SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder

  2. Other Design Patterns • Brief overview of the Gang Of Four • Relative Usage Frequency SE-2811 Dr.Yoder

  3. The Singleton “anti-pattern(s)” • Makes testing difficult • Essentially a public instance variable (global) • …but more complicated (multithreading thought needed) • Hard to reuse, if needed • Constructor arguments challenge • Can’t destruct http://stackoverflow.com/questions/11292109/why-is-singleton-considered-an-anti-pattern-in-java-world-sometimes SE-2811 Dr.Yoder