comp.lang.ada
 help / color / mirror / Atom feed
* Re: Calendar package
@ 2001-03-19 20:27 singlespeeder
  2001-03-19 21:53 ` Robert A Duff
  0 siblings, 1 reply; 4+ messages in thread
From: singlespeeder @ 2001-03-19 20:27 UTC (permalink / raw)


If (when?) the calendar package is updated can someone please not break the
existing interface and leave it entirely as is.

I currently develop systems that have to compile with different Ada 83 and
Ada 95 compilers on different OSs (Dec Ada on OpenVMS/Gnat on Windows). The
one thing that keeps biting me - despite backward compatibility is the way
that interfaces have changed between standards. I thought respecting
interface concepts was generally agreed to be A Good Thing, and can't
believe that Ada 95 didn't follow this philosophy.

Where the Ada 95 standard defined a new package (e.g. Command_Line) I can
write my own package body (or at least the bits I use) from the Ada 95 spec,
and write the code as if the Ada 95 package exists. Simple. Where Ada95
broke an existing Ada83 package (Text_IO gives me jip) I am often caught out
and so far I just use the lowest common denominator. Why?

Because I don't want to write my own Text_IO that implements all the Ada 83
Text_IO features that I currently use and extends it for the Ada 95
features, nor do I want to do conditional compilation (which I was doing for
a while but it got unwieldy even with make).

If someone wants to add more functionality to an existing Ada predefined
package can they please create a new package (e.g. Text_IO2) and leave the
existing package alone.

Thanks.

singlespeeder





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

end of thread, other threads:[~2001-03-20 23:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-19 20:27 Calendar package singlespeeder
2001-03-19 21:53 ` Robert A Duff
2001-03-20 22:11   ` singlespeeder
2001-03-20 23:25     ` Robert A Duff

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