Cover by Mark Seemann

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Chapter 5. DI anti-patterns

Menu

  • CONTROL FREAK
  • BASTARD INJECTION
  • CONSTRAINED CONSTRUCTION
  • SERVICE LOCATOR

Gastronomically speaking, Denmark was a developing country in the 1970s—I was there, but I never suffered because I didn’t know any better. The staple was meat and potatoes, but foreign ideas were slowly being integrated—I think part of the reason was that it was also the dawn of the era of mass tourism.

Danes traveled south to other parts of Europe in increasing numbers, and the most adventurous sampled the local food. Back home, pasta became increasingly popular among the younger generation, but no Italian would have recognized the Danish version of bolognese sauce.

Here’s what I imagine happened. Some enterprising Danish tourist ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required