comp.lang.ada
 help / color / mirror / Atom feed
* Tagged type naming convention
@ 2017-11-04 16:50 Jere
  2017-11-04 23:43 ` Luke A. Guest
  2017-11-05 19:01 ` Jacob Sparre Andersen
  0 siblings, 2 replies; 5+ messages in thread
From: Jere @ 2017-11-04 16:50 UTC (permalink / raw)


I was looking at an older document for a naming convention 
for tagged types and stumbled upon J.P. Rosen's "A Naming 
Convention for Classes in Ada 9X" [1].  It's pretty intriguing
and, even though it was developed for 9X, it has applicability 
in the current Ada revision.  However, I haven't really seen it
employed in any of the libraries I've messed with.  Keep in 
mind, my experience with external libraries is limited.  I
was curious if this style is something that a lot of people
use and had some input on.  Is it still in use?  Pros/Cons based
on experience using it?  

One concern for it is consistency.  It was presented with tagged
types in mind, but even non tagged types provide inheritance and
primitive operations that can be overridden.  Should it be applied
to those as well if used?


[1] https://dl.acm.org/citation.cfm?id=224131&CFID=1001928767&CFTOKEN=61001405

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-07  0:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-04 16:50 Tagged type naming convention Jere
2017-11-04 23:43 ` Luke A. Guest
2017-11-07  0:32   ` Jere
2017-11-05 19:01 ` Jacob Sparre Andersen
2017-11-07  0:43   ` Jere

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox