2 ms·
comments are bringing out grand thesis or bike shed of FP, but wjat OP actually wrote the article about was being forced to use recursion instead of iteration a
by platz 5y ago
comments are bringing out grand thesis or bike shed of FP, but wjat OP actually wrote the article about was being forced to use recursion instead of iteration andnconsidered that FP.
If OP had titled his post recursion is weird I think we'd be seeing some different line of comments.
Secondly, his recursion example not really support his opening comments about FP and cakes.
Thirdly, you dont have to do things backwards in FP.