Quantcast
Channel: User Filip Milovanović - Software Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 167

Comment by Filip Milovanović on (functional programming) What do you call a function that abstracts away a group of function calls?

$
0
0
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.

Viewing all articles
Browse latest Browse all 167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>