Hacker News new | ask | show | jobs
by Draiken 826 days ago
Yeah, my main gripe is with the phrasing. It gives the impression that if you like composition over inheritance (which people mostly take as true without even thinking about it), you should use this.

I feel like that's the kind of over-simplification that then makes people pick a style like this without fully considering the implications.

Every single place that I've seen use these "command pattern" systems devolved into a complete utter mess of procedures. People forget the basics of OO and write everything into "steps" because that's now the hammer and everything is a nail.

If they stuck to the outer layers as the orchestrator for everything, that'd be great. But that never happens in my experience.

1 comments

Good observations, thank you. I take the point about properly delimiting the boundaries of the orchestration layer in a system.

I think you're right about how that line comes across, I'll try and improve it.