Why I need to use CoR if I could write if-else
and instead of passing through multiple handlers I could just find whatever handler I need and delegate the processing to the specific one.
I think, CoR is not being used as a pipeline to process the same request in multiple handlers (like this: https://github.com/RichJones22/chainOfResponsibility_cpp/blob/master/main.cpp). So why I use CoR at all?