From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5e1ecbc6afec137d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Return-Path: X-Virus-Scanned: amavisd-new at drc.ion.ucl.ac.uk From: Ali Bendriss Organization: The Dementia Research Centre To: comp.lang.ada@ada-france.org Subject: Re: prefix notation Date: Mon, 12 Mar 2007 19:02:07 +0000 User-Agent: KMail/1.9.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-UCL-MailScanner-Information: Please contact the UCL Helpdesk, helpdesk@ucl.ac.uk for more information X-UCL-MailScanner: Found to be clean X-UCL-MailScanner-From: ali.bendriss@drc.ion.ucl.ac.uk X-Virus-Scanned: amavisd-new at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.9rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 NNTP-Posting-Date: 12 Mar 2007 20:05:02 MET NNTP-Posting-Host: 88.191.14.223 X-Trace: 1173726302 news-2.free.fr 29408 88.191.14.223:42701 X-Complaints-To: abuse@proxad.net Path: g2news1.google.com!news3.google.com!news.glorb.com!news.ecp.fr!feed.ac-versailles.fr!proxad.net!cleanfeed3-a.proxad.net!nnrp4-1.free.fr!not-for-mail Xref: g2news1.google.com comp.lang.ada:14489 Date: 2007-03-12T20:05:02+01:00 On Monday 12 March 2007 12:27, Jean-Pierre Rosen wrote: > Ali Bendriss a =E9crit : [...] Thanks for the precisions.=20 I will make the distinction more clear (at list in my mind). > I don't know exactly what you are trying to achieve, but is Read a > property of Img? To me, it looks like a property of a Tiff object. The > method depends on the format of the file, not on the object being read. > Similarly, isn't Draw a method of Circle rather than Img? etc. > =46or the moment I was thinking following what was already done by other=20 binding; for example : =2D perl : http://www.imagemagick.org/script/perl-magick.php#example =2D c++ : http://www.imagemagick.org/Magick++/Image.html Maybe I'm wrong.=20 But those two interfaces look like easy to understand and to use. > There is no general rule, but often if you end up with too many methods, > it may well be that they don't belong to the right object. > > (BTW: the whole Java library is full of these badly assigned methods!) > > My 5cts... =2D-=20 Ali