Improved style #5's name

This commit is contained in:
Crista Lopes
2013-09-22 12:46:20 -07:00
parent 4ba9a705ce
commit e45dda87d2
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
Style #5
==============================
Variation of style #4, with the following additional constraints:
- Each function takes an additional parameter, usually the last, which is another function
- That function parameter is applied at the end of the current function
- That function parameter is given as input what would be the output of the current function
- Larger problem is solved as a pipeline of functions, but where the next function to be applied is given as parameter to the current function
Possible names:
- Kick your teammate forward!
- Continuation-passing style
- Crochet loop