[Haskell-beginners] Sidebar to variables

Dean Herington heringtonlacey at mindspring.com
Sat Jul 25 21:53:29 EDT 2009


At 7:42 AM -0600 7/25/09, Duke Normandin wrote:
>My recent questions concerning "variables" spawned this observation:
>
>I take it that programming a solution using a functional language like
>Haskell is really about "linking" a series of functions from which a
>  solution is derived.
>
>It seems to me that this approach would naturally encourage the use of
>the "bottom-up" method of program development. I mean, breaking the
>task down to the smallest possible segments, and then writing a function
>for each segment. Refactoring the task until the smallest segments are
>achieved. Very much like what I learned about programming in Forth (they
>use the term "words" to mean "function")
>
>Am I on the right track here, in my view of the "Haskell approach" to
>programming solutions?
>--
>duke

Yes, indeed.  Haskell, like Forth but probably even more so, makes it 
easy and profitable to program small pieces that can be combined in 
ever-larger chunks.

Dean


More information about the Beginners mailing list