What does “Functions as First Class Objects” mean? You’ll see in this lesson that it means that functions can be passed around into lists and used as arguments for other functions. In the next lesson you’ll learn how to define functions inside functions.
Paul M on Aug. 11, 2020
One thing that might be helpful to point out to readers here is that if your application passes or uses an function as an object, make sure not to actually call the function (i.e. include the ()). Something like:
This tripped me up in a QT application and was not fun to debug…