caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alexy Khrabrov <deliverable@gmail.com>
To: OCaml <caml-list@inria.fr>
Subject: when OO is wrong
Date: Mon, 30 Mar 2009 17:51:08 -0400	[thread overview]
Message-ID: <0DEB4DD9-13C5-4CC5-A916-A18BB6B9DAEB@gmail.com> (raw)

I liked the part of Yaron's Caml Trading talk where he says that OO is  
not always the right way to model things.  I wonder about other  
situations where OO is wrong and functional approach simplifies  
modeling?  And then, since UML is so OO-motivated, should we get a new  
UML, or all that OO Analysis/Design/Development is a heritage of non- 
programming bureaucracy?

I've done some Fortran coding recently for high-performance, numeric  
OpenMP app, and also noticed that just about everything fits into an  
array -- just like almost anything in FP fits into a list.  That's  
another case where a flat structure clears the mind.  I've found a  
graph library in Fortran 77 which, with its compact representation,  
was directly applicable to a rather complex social network modeling  
problem of today!  There's something similar to the "everything is  
array" simplification in FP, but it's hard to pin it down exactly.

What is it about FP which makes modeling simpler than OO, conceptually  
and technically?  How can folks summarize their "enlightenment"  
experiences in this regard?

Cheers,
Alexy


             reply	other threads:[~2009-03-30 21:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-30 21:51 Alexy Khrabrov [this message]
2009-03-30 21:58 ` [Caml-list] " Raoul Duke
2009-03-31  3:02 ` Martin Jambon
2009-03-31  3:34   ` Jon Harrop
2009-03-31 15:53 ` Raoul Duke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0DEB4DD9-13C5-4CC5-A916-A18BB6B9DAEB@gmail.com \
    --to=deliverable@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).