I have a java class with a thousand line method of if/else logic like this:
if (userType == \"admin\") { if (age > 12) { if (location == \"
You could make userType an enum, and give it a method that performs all of your "do something slightly different" actions.
userType
enum