Section 7.5

11 views
Skip to first unread message

Pierre Arnaud

unread,
Dec 22, 2025, 2:49:17 PM (3 days ago) Dec 22
to software-d...@googlegroups.com
You are advocating the use of context objects. You rightfully point out that they are far from ideal. I feel that dependency injection might be a path into the right direction.

Kind regards
Pierre

Envoyé de mon iPhone

HQ K

unread,
Dec 22, 2025, 8:10:10 PM (3 days ago) Dec 22
to Pierre Arnaud, software-d...@googlegroups.com
instead of injecting context objects, I learnt from DCI to pull interaction logic out and into a context object. it is far from ideal but I feel it would be cleaner and more composable.

--
You received this message because you are subscribed to the Google Groups "software-design-book" group.
To unsubscribe from this group and stop receiving emails from it, send an email to software-design-...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/software-design-book/BE7CD0E3-B665-4A21-A1C5-4E8EB05809F6%40opac.ch.
Reply all
Reply to author
Forward
0 new messages