Y
Hacker News
new
|
ask
|
show
|
jobs
by
chvid
3676 days ago
I personally consider the example I gave as being a nicer way of doing dependency injection than the more verbose constructor based injection.
But in general yes; cyclic dependencies are a bad idea.