comp.lang.ada
 help / color / mirror / Atom feed
* Encaspulation: What to export
@ 2017-11-27 19:25 Victor Porton
  2017-11-27 20:00 ` Dmitry A. Kazakov
  2017-11-27 21:39 ` Simon Wright
  0 siblings, 2 replies; 22+ messages in thread
From: Victor Porton @ 2017-11-27 19:25 UTC (permalink / raw)


I am writing free software containing a kinda parser, which converts from 
external representation into the internal format of my Ada program.

What should be in the public package interface and what in package body 
only?

Should I export only the parser for the main object (as it is the only 
parser used by the rest of the program)?

or should I export parsers for all subobjects (because exporting only the 
main parser and not exporting the rest ones is kinda asymmetric: some parser 
is exported and some are not)?

-- 
Victor Porton - http://portonvictor.org


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

end of thread, other threads:[~2017-11-30 21:42 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27 19:25 Encaspulation: What to export Victor Porton
2017-11-27 20:00 ` Dmitry A. Kazakov
2017-11-27 20:34   ` Victor Porton
2017-11-27 20:35     ` Victor Porton
2017-11-28  2:12     ` Randy Brukardt
2017-11-28 15:22       ` Victor Porton
2017-11-28 22:36         ` Randy Brukardt
2017-11-28 23:29           ` Shark8
2017-11-29  4:44             ` gautier_niouzes
2017-11-29 20:32               ` Randy Brukardt
2017-11-29 21:08                 ` gautier_niouzes
2017-11-30 21:42                   ` Randy Brukardt
2017-11-29  8:40             ` Dmitry A. Kazakov
2017-11-29  7:31           ` G. B.
2017-11-29  7:38             ` G. B.
2017-11-29  8:14             ` Simon Wright
2017-11-29 18:46           ` Victor Porton
2017-11-29 19:43             ` Dmitry A. Kazakov
2017-11-29 19:57               ` Victor Porton
2017-11-29 20:42             ` Randy Brukardt
2017-11-29 22:18               ` Shark8
2017-11-27 21:39 ` Simon Wright

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