TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

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

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

Print Reply
Subject:
From:
"W. Wesley Groleau x4923" <[log in to unmask]>
Reply To:
W. Wesley Groleau x4923
Date:
Tue, 9 Mar 1999 12:00:23 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
> At least we have a package culture now, so at least the declarations
> will be in one place instead of distributed in every program.
> That is, assuming both engineers and managers resolve to _really_
> learn how to encapsulate.

Don't bet on it.  I was once asked to do a "simple upgrade" of some Ada
code.  Turned out that the original author (no longer available for
consultation) had read where the coding standard said "group related items
together in a package."  So he had one package for each of the following:

types
constants
variables
functions
procedures
tasks

I'm exaggerating, but not much!

ATOM RSS1 RSS2