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.6 required=5.0 tests=BAYES_40,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2078dddcdcd8d83 X-Google-Attributes: gid103376,public From: do_while@lo-pan.ridgecrest.ca.us (Do-While Jones) Subject: Re: Warning: Religious naming convention discussion :-) [was: assign help!!] Date: 1997/05/14 Message-ID: <5lcefp$riu$1@ash.ridgecrest.ca.us>#1/1 X-Deja-AN: 241490219 References: <33779E0D.61F8@sprintmail.com> <3378BBD2.7BBA@this.message> <3379606E.413E@sprintmail.com> Organization: RidgeNet - SLIP/PPP Internet, Ridgecrest, CA. (619) 371-3501 Newsgroups: comp.lang.ada Date: 1997-05-14T00:00:00+00:00 List-Id: Speaking from a maintenance point-of-view, I certainly prefer package Angles is type Degrees is digits ...; to > package Angles is > > type Angle_Type is digits ...; -- in degrees because it eliminates the need to "grep Angle_Type angles.ads" to see if a variable of Angle_Type (declared in a different package) is expressed in degrees or radians. Never express in a comment that which can be expressed in the code. DIRECTION : Angles.Degrees; is safer than DIRECTION : Angles.Angle_Type; -- in degrees Furthermore, one is more likely to make this mistake: THETA_IN_RADIANS : Angles.Angle_Type; than to make this mistake: THETA_IN_RADIANS : Angles.Degrees; Do-While Jones -- Science Against Evolution is a California Public Benefit Corporation whose objective is to make the general public aware that the theory of evolution is not consistent with physical evidence and is no longer a respectable theory describing the origin of life.