The Artima Developer Community
Sponsored Link

Python Buzz Forum
A Single Command to Get Started on Functional Programming

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Micah Elliott

Posts: 106
Nickname: mde
Registered: Feb, 2007

Micah Elliott is a hacker-entrepreneur starting up in Portland
A Single Command to Get Started on Functional Programming Posted: Jun 2, 2008 12:54 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Micah Elliott.
Original Post: A Single Command to Get Started on Functional Programming
Feed Title: Micah Elliott
Feed URL: http://feeds.feedburner.com/MicahElliott
Feed Description: Follow Micah as he makes connections around the Portland area, participates in community hacking events, explores the blogosphere, bounces ideas around, and tries to change the world by catching a big wave.
Latest Python Buzz Posts
Latest Python Buzz Posts by Micah Elliott
Latest Posts From Micah Elliott

Advertisement
Functional Programming is old. Ancient. Like right after FORTRAN. But it's the future. Trust me, I'm named after the dude who knew about Jesus 700 years early.

Seriously, it's not going to take 700 years for FP to go mainstream. Some would argue that it already is. Python, Ruby, and others have adopted a number of FP features. Here's all you need to get started right now and get ahead of the curve (right after you've installed Debian or Ubuntu).

Install Them All


I see tons more interpreters available (apt-get search ...) for the main FP languages, but these are the ones that looked most stable and most widely used.

$ sudo apt-get install clisp guile-1.8 erlang ocaml ghc6

What did that just do? Okay, you can probably figure it out. But did you realize that you just put the entirety of mainstream FP and their REPLs at your fingertips? That includes interpreters/compilers for Common Lisp, Scheme, Erlang, OCaml, and Haskell. Vim and Emacs should have editing modes available for all of these.

You can invoke each of the REPLs respectively, like so.

$ clisp # Common Lisp
$ guile # Scheme
$ erl # Erlang
$ ocaml # OCaml
$ ghci # Haskell

Of course you'll need to learn something about each of the languages to do anything at this point. But I'm just getting you off on the right foot. I'm not going to go into detail here why I chose the interpreters or languages that I did, but if you don't know any better, these are a great start. I'm only getting started with all of these myself.

Free Online Material


You can check Amazon for books on any of these languages. Most of them are pretty expensive (except Programming Erlang, which I just ordered). But I'll mention some free resources that all look valuable.

Stay Tuned

You might already be aware of the power of FP, or maybe the Wikipedia link at the top convinced you, or maybe you'll remain a detractor. Hopefully I've at least whetted your appetite by showing how easy it is to get set up. I'll plan to go into more detail about why I think FP is important in a future post (hint: performance, concurrency, code density, productivity, intelligent communities, mind-expansion, fun). I'm still in the process of discovering all the reasons.

Well, this kicks off my FP journey. Hope you'll come along for the ride. First stop: erl

Read: A Single Command to Get Started on Functional Programming

Topic: Moving Past BlueCloth Previous Topic   Next Topic Topic: XP is indeed very fast

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use