English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
generic functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-01-09 (17:16)
From: David McClain <dmcclain1@m...>
Subject: Re: [Caml-list] generic functions
> With the exception of certain artificial contests (Paul Graham) I've never
> met a real world problem that needed overloading, or even benefitted
> signifigantly from overloading that didn't benefit just as much or more
> from one of the solutions above.

I would mention ad-hoc, interactive, engineering computing, e.g., NML,
Mathematica, MatLab, where generic functions and overloading are extremely
useful. But none of these languages can produce safe code, and I would never
recommend using any of them for production releases of software. OCaml =
strong safety. NML and others = fast interactive exploratory programming,
but not safe.

David McClain
Senior Corporate Scientist
Avisere, Inc.

+1.520.390.7738 (USA)