Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Found an example that is closer to how I learned about CQS:

https://hemath.dev/blog/command-query-separation/

Down at the bottom it gets into composition to make utility functions that compose several operations. Any OO system has to be careful not to expose methods that should have been private, so that’s not specific to CQS. It’s just that the opportunities to get it wrong increase and the consequences are higher.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: