@kristofdho My ideas of using nested functions are
1. to prohibit use of such functions outside
2. they can replace comments in big functions
3. whenever lambda is bigger then one line
4. clearer API of classes
my colleges are not very happy with this approach, but for me it seems more readable. Probably
private
modifier is responsible for the same role