I might have said it before but, Constructor IoC has 2 big advantages over setter and getters.
- The IoC all happens in one shot, so there are no issues about a class being half configured, its always thread safe from the start.
- When doing writing Unit tests is really clear what is needed to make a class function
- Less code.
That was 3… oops… bloat 🙂
That makes a lot of sense to me.