question: I’m getting to a point that a bunch of m...
# android
y
question: I’m getting to a point that a bunch of my business logic can be expressed as a function instead of a class itself. Pass in rx streams into the function, get rx stream out. Inside that function, I have local functions. I now have enough logic inside the local functions that I want to test them. Do i refactor the outer function to take in the formerly local functions as parameters into the outer function, or do I move the local functions to top level functions and access them as top level functions?