caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: cookedm+news@physics.mcmaster.ca (David M. Cooke)
To: caml-list@inria.fr
Subject: Re: Question on performance/style issue
Date: Mon, 27 Feb 2006 17:37:37 -0500	[thread overview]
Message-ID: <qnkhd6kzavi.fsf@arbutus.physics.mcmaster.ca> (raw)
In-Reply-To: <200602251214.03353.Andrej.Bauer@andrej.com>

Andrej Bauer <Andrej.Bauer@andrej.com> writes:

> On Friday 24 February 2006 20:25, Alessandro Baretta wrote:
>> Anil Madhavapeddy wrote:
>> >>>x ++ f ++ g ++ h
>> >>
>> >>What is the impact of the this programming style on execution
>> >> performance?
>
> 1. It should be easy enough to extend the syntax so that you don't have to 
> worry about it getting compiled away.
>
> 2. Mathematica uses notation x // f. Why not use the same? Many people will 
> misunderstand ++ as something coming from C.

Those of use who don't use Mathematica will misunderstand that as a
comment (from C++), or an integer divide (Python), or ...?

:-)

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca


  reply	other threads:[~2006-02-27 22:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24 15:52 Alessandro Baretta
2006-02-24 19:05 ` [Caml-list] " Anil Madhavapeddy
2006-02-24 19:25   ` Alessandro Baretta
2006-02-25 11:14     ` Andrej Bauer
2006-02-27 22:37       ` David M. Cooke [this message]
2006-02-27 23:49         ` [Caml-list] " David Brown
2006-02-28 12:02           ` Alessandro Baretta
2006-02-28 12:04       ` [Caml-list] " Alessandro Baretta
2006-03-01  5:45 ` Nathaniel Gray
2006-03-01  8:34   ` Alessandro Baretta

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=qnkhd6kzavi.fsf@arbutus.physics.mcmaster.ca \
    --to=cookedm+news@physics.mcmaster.ca \
    --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).