News for hackers. Stuff that matters.
Re:When PHP Actually Is Your First Programming Language by jrockway on Monday October 06, 2008 @05:14PM (#325310)
I learned SML which was OK, but it didn't change my world.

This seems odd to me. Working with Haskell for a while changed how I think about state. I usually avoid (non-trivially) mutable objects now, and instead return a modified copy of an object. (For an example, see the process method here: http://git.jrock.us/?p=Template-Refine.git;a=blob;f=lib/Temp... )

Also, Haskell's type classes (and CL's CLOS) are a different approach to OO compared to Smalltalk-style "send a message to the object". It is definitely good to be able to think about OO both ways.

There are no comments on this comment yet.