Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29164

Re: Functional programming - Professor Frisby's Mostly Adequate Guide

Newsgroups comp.lang.javascript
Date 2016-01-07 08:44 -0800
References <28cf4382-ffa5-4935-8d6b-cbb07284cf13@googlegroups.com>
Message-ID <893daf06-da3e-4da8-b25e-7479d93cb95c@googlegroups.com> (permalink)
Subject Re: Functional programming - Professor Frisby's Mostly Adequate Guide
From "Michael Haufe (TNO)" <tno@thenewobjective.com>

Show all headers | View raw


On Wednesday, January 6, 2016 at 9:35:14 AM UTC-6, beegee wrote:
> I haven't visited this group in years but I credit it with really teaching me JavaScript (the good and bad parts).  So it popped up today in my mail and I revisited.  What has excited me lately is a way of developing programs in JavaScript that 
> 
> a.) moves away from OOP
> b.) moves away from JQuery
> c.) moves towards planning architectures that are directional and have few side effects.
> 
> I am not going to advocate any frameworks.  I am going to recommend a book:  Professor Frisby's Mostly Adequate Guide to Functional Programming.
> 
> https://drboolean.gitbooks.io/mostly-adequate-guide/content/
> 
> The books examples are all JavaScript and subjects range from pure functions, currying, composing and functors among others. It's a short, dense book.  The practical benefit of the book I have found is in finding new ways to think rather than new ways to program. 
> 
> I'd be interested to know other's thoughts on functional programming now that there is at least one serious framework that encourages big app development in JavaScript using its principles.

Scott Sauyet was walking down the same path. We discussed this some time ago:

https://groups.google.com/forum/#!topic/jsmentors/0Cj7AEH5Oic/discussion
https://groups.google.com/forum/#!topic/jsmentors/wH6X8SDPnbw/discussion
https://groups.google.com/forum/#!searchin/comp.lang.javascript/ANN$3A$20RAMDA/comp.lang.javascript/kajDUzrsHkQ/UVQkmnwpMCwJ
http://ramdajs.com/0.19.0/index.html

In regards to the referenced book, I'm not certain I'm a fan of its approach. It assumes far too much of the reader. 

For example: under "Chapter 2: First Class Functions" it talks about Node "modules", MVC, and AJAX. That is only the beginning. It seems quite scatter brained.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Functional programming - Professor Frisby's Mostly Adequate Guide beegee <bgulian@gmail.com> - 2016-01-06 07:35 -0800
  Re: Functional programming - Professor Frisby's Mostly Adequate Guide "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-01-07 08:44 -0800
    Re: Functional programming - Professor Frisby's Mostly Adequate Guide Stefan Weiss <krewecherl@gmail.com> - 2016-01-07 19:05 +0100
      Re: Functional programming - Professor Frisby's Mostly Adequate Guide Scott Sauyet <scott.sauyet@gmail.com> - 2016-01-18 12:10 -0800

csiph-web