I just want to improve this design, share your thoughts.
Q1. I have specialized
Splitter class based on monetary unit as "MonetarySplitter" and "NonMonetarySplitter". Whether doing so is correct? To check inheritance, I used to do "is a" check. It doesn't sounds good for me that "MonetarySplitter" is a "Splitter".
Q2. I have specialized "MonetarySplitter" class in to "EqualMonetarySplitter" and "PercentageMonetarySplitter". Even this doesn't sounds good for me because "EqualMonetarySplitter" and "PercentageMonetarySplitter" class will be for "NonMonetarySplitter" specialization too.
Q3. Any other design parameters need to be considered for Bill splitter application?