1 / 3

Week 10 Class 3 Patterns in Review (2)

Week 10 Class 3 Patterns 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. Other Design Patterns. Brief overview of the Gang Of Four Relative Usage Frequency.

leola
Download Presentation

Week 10 Class 3 Patterns in Review (2)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related