Just wanted to get a feel for the various pros and cons of "multi-aspect" functions/methods over separation of concerns...
best way to illustrate my grey area is with this example:
GetCustomers(params - eg: CustomerType) returns "Customers"
vs
GetCustomerTypeHighFlier() returns "Customers"
GetCustomerTypeStandard() returns "Customers"
Obviously two key issues in this design are:
Option A means more complexity in the function - more DRY, less SoC...
Option B means more functions - more SoC, but less DRY...
Is there MORE considerations to this than these two aspects?
How/where do you draw the line and decide which aspect is better to choose in what situations?