I recently watched a talk by Dave Cheney about first class functions in Go. Python supports first class…