3 ms·
https://github.com/r-cyr/PHPunctional/blob/master/P/Examples/Fun.php https://github.com/r-cyr/PHPunctional/blob/master/P/Examples... Readable? Concise? Estheti
by V-2 12y ago
https://github.com/r-cyr/PHPunctional/blob/master/P/Examples/Fun.php https://github.com/r-cyr/PHPunctional/blob/master/P/Examples...
Readable? Concise? Esthetical? :)
FP with PHP is like putting a saddle on a cow.
Interesting as an experiment, but I can't really imagine using it in production - I can't imagine someone preferring to have this version of Fibonacci in their codebase over whatever any sane programmer would write instead