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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9fb64e4c58f1fe X-Google-Attributes: gid103376,public From: guerby@gnat.com (Laurent Guerby) Subject: Re: overload ":=" ??? Date: 1996/07/23 Message-ID: #1/1 X-Deja-AN: 169583771 sender: guerby@schonberg.cs.nyu.edu references: organization: New York University reply-to: guerby@gnat.com newsgroups: comp.lang.ada Date: 1996-07-23T00:00:00+00:00 List-Id: Laurent> If you allow programmers to play with assignment, you'll definitly Laurent> damage the readability of all Ada sources. Bob> If you allow programmers to play with "+" and "=", you'll ... ;-) Yes ;-). But in the case of "=", there are some strict rules (returns boolean, "/=" implictly defined) that restrain your creativity. What about the evil: function "/" (Source : String; Max_Length : Natural) return Record_Type; -- Implementation left to the reader. X := "Hello" / 80; -- Better document somewhere the notation ;-). -- Laurent Guerby , Team Ada. "Use the Source, Luke. The Source will be with you, always (GPL)."