Doc Brown has a point there. On the one hand, yes, this is a kind of a wrapper function, but really, all you do when writing a program is you're calling functions inside other functions, and composing functions (and calling the composition inside other functions) - you distribute the responsibilities across various levels and you give each function an appropriate, descriptive name. You're not doing something particularly unusual. It's fine to discuss what kind of function it is, but I'd be more concerned about giving it a descriptive name that makes business logic read better.
↧