✳flâneur — a map of the web's best reading
Service Locator violates encapsulation
blog.ploeh.dk · 1,164 words · saved by 1 readers
Service Locator violates encapsulation in statically typed languages because it doesn't clearly communicate preconditions.
Service Locator violates encapsulation Service Locator violates encapsulation by Mark Seemann Service Locator violates encapsulation in statically typed languages because it doesn't clearly communicate preconditions. The horse has been long dead, but some people still want to ride it, so I'll beat it yet again. Over the years, I've made various attempts to explain why Service Locator is an anti-pattern (e.g. that it violates SOLID ), but recently it struck me that most of my arguments have been focused on symptoms without ever addressing the fundamental problem. As an example of discussing sym
Explore this link on the map →saved by
related reading
- Clean Coder Blogblog.cleancoder.com
- artima - Josh Bloch on Designartima.com
- SOLID Design Principles Explained: Building Better Software Architecture | DigitalOceandigitalocean.com
- P2900R13.pdfisocpp.org
- p2899r0.pdfopen-std.org
- No, dynamic type systems are not inherently more openlexi-lambda.github.io
- Reading 4: Specificationsweb.mit.edu
- Favoring Composition Over Inheritance In Java With Examples - GeeksforGeeksgeeksforgeeks.org
- LEAP 71 | PicoGK.org Blogpicogk.org
- SOLID Design Principles Explained- Stackifystackify.com
- Design Patternsgrantslatton.com
- CS *891: Scalable Microservicesdre.vanderbilt.edu