Browse thread
Question on performance/style issue
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2006-02-27 (22:40) |
From: | cookedm+news@p... |
Subject: | Re: Question on performance/style issue |
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