News for hackers. Stuff that matters.
Re:Functional Programming Patterns by taeric on Monday December 01, 2014 @11:46AM (#8682024)
If my subthread sounded at all like an attack against Lisp and Racket, than I humbly apologize. So far, I am loving the language and what can do with it.

And I like currying and such, as well. Even use it in Racket quote often. Isn't too uncommon to see something like in my projects.

    ((compose
        (curry func1 val1)
        func2
        func3) seed)
I think what really makes Racket so amazing to me is just how easy it is to iteratively write a function. Start with a core, and gradually append around it more and more till it is done. Testing with values throughout the whole process.

I also like the literature around Lisp. Land of Lisp and SICP are both very well written and just plain fun to read.

Re:Functional Programming Patterns by jarcane on Monday December 01, 2014 @01:37PM (#8682781)
Yes. I find sometimes that programming in Racket and other Lisps is so efficient, that whenever something starts looking tedious, I start reconsidering if there's a more elegant way I'm missing to implement it. Learning it, hacking it, and reading about it (and Scheme and other Lisps as well as Haskell) have done marvelous things for my programming skills.

Today I wrote a struct system in 29 lines of code. Kinda hard sometimes to do that and then even think about going back to, well, much of anything but another Lisp or composable FP language, really.