29 May, 6:33pm

This is just a mental note:

Today I knew a couple of interesting concepts: the Continuation-Passing style, which is intimately related with the Continuation concept and it could use closures to achieve it. This may be my first formal approach to the functional programming, but without using a functional language, just plain C.

To be honest, I am not quite convinced about these ideas, it sounds to me like a glorified spaghetti code/flow, using closures instead of goto sentences.

Mario suggested that CPS is a way to implement the Chain-of-responsibility pattern, but it doesn't make sense for me. Anyway, these are good things to learn.