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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,4b26cf620424a3ff X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Language Revision : "/" and "div" Date: Wed, 05 May 2010 04:31:37 +0200 Organization: Ada At Home Message-ID: References: <8aa58be8-a9b2-4653-8234-e5b6a70f310f@k41g2000yqb.googlegroups.com> NNTP-Posting-Host: RFJcNObQ4K0QDDxOKl/MTg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news2.google.com comp.lang.ada:11314 Date: 2010-05-05T04:31:37+02:00 List-Id: Le Sat, 01 May 2010 08:52:18 +0200, vincent.diemunsch@gmail.com = a =C3=A9crit: > Hi everybody, > > I wonder why Ada uses "/" to express the integer division and not > "div". Hello, I suppose because Ada=E2=80=99s typed and has overloading, and you will = probably = not want Ada to force you to create a new name each time you define a = similar function on different types. There is most of time no type hint = in = function and procedure names in typical Ada source texte. Are you possibly thinking about =E2=80=9Cdiv=E2=80=9D because other lang= uage has this ? -- = No-no, this isn't an oops ...or I hope (TM) - Don't blame me... I'm just= = not lucky