TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mike Brenner <[log in to unmask]>
Fri, 1 May 1998 08:20:25 -0400
text/plain (14 lines)
John pointed out some weaknesses in a forthcoming program to be published
in JOOP. John, as we struggle with how to best do constructors, could
you publish some example code that does it elegantly? I would like to
learn less-restrictive methods of doing Ada-95.

If there are simple, elegant ways in Ada-95 of doing the kind of constructors
you can do in Turbo Pascal with Objects, it would be helpful to
post them on the Net somewhere and put pointers to them here and in

I agree that revealing unnecessary components of private types is not good,
but some good examples would go a long way towards establishing a good