Theo schools me on OO over functional programming

I just got back from dinner with another friend (The-oy) who schooled me on the OO mistakes I made in the lazy loader.  The problem stemmed from the fact that I was trying to conver the following functional type into an OO one.

# type ‘a optional = Some of ‘a | None;;
type ‘a optional = Some of ‘a | None

I’ve told him he has 48 hours to write up a response blog to why my implementation was bad and what would be better, or else I would do it.  In the meantime can anyone here see the problems with it?  (Remember you may have to read some of hte posts as there were updates to the code inside of them.

Comments (2)

  1. Theo Yaung says:

    Blah. Darn you Cyrus…

    I’m going to spend more time writing comments to your blog than actually writing articles on mine 😉

    Though after your generous teaser, I now feel compelled to post something revolutionary. Let’s hope I can squeeze it into my schedule in the next 48 hours…

  2. The clock is ticking. This better be good. 🙂