From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id D2B81BB9A for ; Wed, 5 Oct 2005 22:52:08 +0200 (CEST) Received: from web26807.mail.ukl.yahoo.com (web26807.mail.ukl.yahoo.com [217.146.176.83]) by nez-perce.inria.fr (8.13.0/8.13.0) with SMTP id j95Kq8cp023534 for ; Wed, 5 Oct 2005 22:52:08 +0200 Received: (qmail 65945 invoked by uid 60001); 5 Oct 2005 20:52:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=RRSpkcjlqU72zZDJ0Q2HOYs28txKOa+zW4QJom3kdfVrppzjG4B8sX6jaMLJHIxzFVC7LBR+gotHkfedvbs/d2zf/LXvOM4FGWe1MCgr5HvtnwI09cSr/jJYCfsuLf+XewX5tnekWeThxe7svPknVcDsH2+ToNTgKlxY864gFuc= ; Message-ID: <20051005205208.65943.qmail@web26807.mail.ukl.yahoo.com> Received: from [83.180.76.252] by web26807.mail.ukl.yahoo.com via HTTP; Wed, 05 Oct 2005 22:52:07 CEST Date: Wed, 5 Oct 2005 22:52:07 +0200 (CEST) From: Martin Chabr Subject: Ant: Re: FP/IP and performance (in general) and Patterns... (Re: [Caml-list] Avoiding shared data) To: Oliver Bandel Cc: caml-list@yquem.inria.fr In-Reply-To: <20051005121028.GA757@first.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at nez-perce with ID 43443CF8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 avoiding:01 computations:01 interfacing:01 parsing:01 oliver:01 bandel:01 oliver:01 in-berlin:01 ocaml:01 ocaml:01 lacks:01 caml-list:01 beginner's:01 beginners:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DNS_FROM_RFC_ABUSE autolearn=disabled version=3.0.3 >>From my limited experience I see it this way: Mathematical computations, algorithms, interfacing (complicated data conversions), text translations, parsing, anything which can be well represented by dataflow diagrams and where there is no changing state ==> use FP User interfaces, business systems, anything with objects which have changing states and which react to events and interact with each other ==> use OOP Martin --- Oliver Bandel wrote: > On Tue, Oct 04, 2005 at 06:39:28PM -0400, > Christopher A. Watford wrote: > [...] > > This list is best for asking OCaml questions and > is awful for asking > > for what language is best for what, nobody agrees. > [...] > > > I was not asking, what language is better for > soimething, or best at all. > I asked for what programming style/paradigm is best > used to solve > certain problems. > > As OCaml provides more than one programming > paradigm, for me > it's the best language I ever had programmed in > (some > other features are also fine). > > So the question goes in a different direction: > How to solve problems best, if you have the > possibility > do do it in different ways. > > Well, every programmer can choose it's own way, but > if certain areas > are well known to do them in a certain way best, it > makes sense > to go that direction. > > For example, I'm not really a fan of OO-programming, > but when > programming GUI-software I think it would be the > best choice, > and FP-programming lacks flexibility here (if not > using > a DSL to create GUI-code, which then is separately > compiled). > > Ciao, > Oliver > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: > http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de