2 ms·
It would have been nice if the link named "sample code" linked, to, uh, code rather than a git hub node that one might extract some code from, in maybe fifteen
by joe_the_user 17y ago
It would have been nice if the link named "sample code" linked, to, uh, code rather than a git hub node that one might extract some code from, in maybe fifteen minutes.
All the other links seemed to be announcements for the guy speaking and article itself had no real meat. Show me some code does something hard easily and something easy, easily. And don't make have it be factorial, I know functional programming can do factorial.
- gord 17y agoI put my hand on my heart and tell you, after programming for 15 years in C and C++ on windows and linux, I am happy to throw it away after seeing how much better the same things can be done in 'lispy' languages [scheme, clojure, ruby] Have a look at PGs 'on-lisp', 'the little schemer', the SICP book + video lectures, or 'practical common lisp' - they have example after example - finding fixed points, data query language, numerical approximations, symbolic algebra, pattern matching, logic languages, momoizing all expressed very clearly. An excellent article you might enjoy is 'Functional Programming for the Rest of Us' : http://www.defmacro.org/ramblings/fp.html http://www.defmacro.org/ramblings/fp.html [by a YC alumni, Slava]