Tag Archives: software examples

What’s the point of Functions in #programming? (for primary/middle schoolers)

My common day-to-day use is “something that is used to generate individual parts of something, and that I might write alternative versions of in future”. Here the use of a function lets you replace a generator with a different generator. Such examples occur frequently in OOP, but are only truly dependent upon functions. For instance: