|
|
|
|
|
by fifticon
353 days ago
|
|
I see mixed comments,
so let me add some praise.
I am one of countless, who match
his intro-filter:
repeatedly hearing 'enlightened'
people lament that the vast masses don't "get" lisp and FP,
and repeatedly attempting/failing to pick up the red string myself. background - I am a computer science major with 30+ years experience. I did do a mandatory class of 'implement your own lisp' many eons ago.
It just never really 'clicked' for me.
I do, by accident, assimilation and lazyness,employ
FP style designs in my software.
And I guess fp techniques gradually rub off on me from e.g. javascript, lambdas,closures, and map-filter-reduce.
in particular, lambdas are useful to me.
But I am one of the guys who
continue to read the "let me tell you what monads really are", and every time I fall off the bicycle.
So, well, I appreciated this 'Xfor 5year olds" :-) |
|
Haskell is functional in that it demands its functions be functions, not subroutines. A function has inputs mapped to outputs and no side-effects. Functions can be composed and composition always works. Haskell uses monads to represent the regrettable fact that having an impact on the outside world is, in a very real sense, a side-effect, so it marks all side-effecting functions with an indelible stain. Haskell requires a different mode of thought from Python, or even from C++, and it's definitely not another Lisp.