The “Thinking Functionally” Series
fsharpforfunandprofit.com
fsharpforfunandprofit.com
Most of my work is on software that runs on big iron unix systems and I suspect Mono would be a tough to impossible sell in large enterprise due to lack of professional services and support. Hell it's impossible to even sell the idea of putting Linux on some of the systems unless it's RHEL.
[1] http://ocaml.org
[2] http://stackoverflow.com/questions/179492/f-changes-to-ocaml
Exactly what I was thinking. I know functional programming is interesting to me, and from experience I know that learning a new paradigm can improve your competence as a developer, but I have the same reservations about learning a language I'm pretty sure I won't have a realistic chance to actually use.
If there are similar resources in Haskell or Erlang... now that I could convince myself to spend some time on.
F#, SML, and OCaml are basically one functional language family, while Haskell and Erlang are in completely different families. And then there's the Lisp/Scheme family, which is again quite different.
I learned a little Scheme to try and help a friend while I was in college, but that's about the extent of my exposure to functional languages... it seems like a real shame that this style of development is apparently so highly-regarded but doesn't get much attention in early programmer education.
I definitely see the utility of OOP, and as far as marketability goes it's still the good bet, but it'd be great to see better resources for functional programming.
The ML family is quite different from Scheme. ML's salient feature is its powerful type checking system. It allows you to almost eliminate runtime errors.
Functional programming used to get much more attention from universities than it does now. So did C. Now they're trending toward doing everything in Java, which is what industry seems to want, but it's dumbing down the education.
Classic rant post about this phenomenon can be found here: http://www.joelonsoftware.com/articles/ThePerilsofJavaSchool...
My knee-jerk reaction would be that functional programming isn't an important skill for industry... but then neither are the low-level RDBMS classes I took as requirements, and I'm sure a lot of other people could chime in with "US university failed to prepare me for work" stories of their own, so that's beaten to death.
I'm getting over my reactive Java loathing thanks to Android, but man, it'd still be nice to get people learning functional and procedural and object-oriented programming.
[1] Formatting F# code for the web - http://tomasp.net/blog/fswebsnippets-intro.aspx
[2] Announcing - Literate programming tools for F#
I still really want to get "into" functional programming, but all the tutorials I find seem to be awfully mathematically-oriented or theoretical. For me to really "grok" it as it might apply to my life, I'm still trying to get how to combine it with webapps or CRUD-type apps. Even back-end would be fine -- how to write a web server written "functionally", that retrieved data from a database and turned it into JSON format, for example.
I don't think you're going to find an escape from the theory, though... the abstractions that are necessary to adapt functional programming to something like a CRUD app are going to be mind-bending, one way or another. It might be easy to write something simple up in Yesod or Snap, but that's only because the framework authors are doing most of the abstraction-herding for you. From what I can tell, that book goes into the messy details.