🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2435

Re: ada-like naming scheme?

#2435
From: Jens M Andreasen
Date: Sat, 30 Mar 1996 04:01
19 lines
1044 bytes

On 26 Mar 1996, Richard Krehbiel wrote:

> >   ada.text_io.get(x);
-<snip>-
> >   integer_sort.quicksort(int_array);
> >   integer_sort.selection_sort(int_array);
> 

> >From curiosity, why not just adopt a naming convention that prepends
> the package/module names to the function name?  Why not simply call
> them int_sort_quicksort() and float_sort_quicksort()?
> 
With a slight change, the dot.approach could be useful if the app at an 
earlier stage had realized what method to use and changed the pointer 
accordingly. (integer.sort)

// Jens M Andreasen
Technical Details
Message-ID: <4jibls$8am@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4j41gd$nij@solutions.solon.com> <4ja3md$p5e@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: Jens M Andreasen <jens-and@dsv.su.se>
Newsgroups: comp.lang.c.moderated,comp.lang.c
Subject: Re: ada-like naming scheme?
Date: 29 Mar 1996 22:01:00 -0600
Organization: Digital Solutions
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4jibls$8am@solutions.solon.com>
References: <4j41gd$nij@solutions.solon.com> <4ja3md$p5e@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com