3 ms·
When I read "these functions accept state and other dependencies," I took it to mean that "state and other dependencies" would be an ever-growing list of argume
by klyrs 7y ago
When I read "these functions accept state and other dependencies," I took it to mean that "state and other dependencies" would be an ever-growing list of arguments to the function -- not that they'd necessarily be modifying external state.
I work on a project where I framed up both patterns, and ultimately decided that the hodgepodge^ pattern was preferable to repeating long lists of arguments.
^ kinda like the mixin pattern but I think it's been taken too far