How to Learn to Program: From PHP to Lisp in 4 easy steps
I taught myself how to program. Having gone through a progression of programming languages, I have found patterns that help me piggy back into more and more interesting types of programming. I started with PHP, moved to object-oriented PHP, and moved to a much cleaner and powerful Ruby. Once you learn Ruby, you are introduced with ideas like iteration by defining a block that is called for every item in a collection. If you like those ideas, you are going to love OCaml. Once you grok OCaml, Lisp becomes nearly second nature. I suggest that if you are in the PHP world and want to flex your muscles, try this progression. One language a year and you should be a Lisp guru in 4 years.

6 Comments:
How about Objective-C (esp Foundation Kit)? Seems to go hand in hand pretty well with Ruby, http://www.rubycocoa.com !
7:30 AM, September 16, 2006
If you are learning OCaml, then I would suggest you to also have a look at Haskell.
8:58 AM, September 20, 2006
I have looked at Haskell, but I don't see the gains of Haskell being worth loosing the inferred types of OCaml.
9:01 AM, September 20, 2006
Lucas, please help us with Myst, look the latest comments here: http://tech.rufy.com/2006/06/guide-to-installing-myst-v-on-mac-os-x.html , thanks (and sorry for invading this space)
5:26 PM, September 22, 2006
Haskell uses type inference; at a REPL:
Prelude> let fifteen = 15
Prelude> :type fifteen
fifteen :: Integer
Prelude> let map f (x:xs) = (f x):(map f xs)
Prelude> :type map
map :: (a -> a1) -> [a] -> [a1]
GHC found the types of fifteen and map for us.
Further, Haskell has tons of things that are even prettier than OCaml. Like monads, pattern matching, and laziness by default.
4:33 PM, November 10, 2006
i buy hydrocodone at buy hydrocodone - can't find any cheaper
7:01 AM, January 28, 2007
Post a Comment
<< Home