comp.lang.ada
 help / color / mirror / Atom feed
From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: Carbon
Date: Fri, 29 Jul 2022 23:23:14 -0500	[thread overview]
Message-ID: <tc2bnk$a9d$1@gioia.aioe.org> (raw)
In-Reply-To: 877d3vnzsy.fsf@nightsong.com

On 7/29/2022 8:40 PM, Paul Rubin wrote:
> "Nasser M. Abbasi" <nma@12000.org> writes:
>> Or may be there is something else going on.
> 
> It seems to me that it simply takes a lot more code (not just
> keystrokes) to do anything in Ada, compared to other languages.  Having
> two files (ADS and ADB) for every module is already a nuisance.
> 

Isn't this similar in a way to C/C++ with their header files all
over the place? Also in modern Fortran, each module Fortran .f file will
have an associated .mod file generated that goes with it (used by
other modules to interface to it).

I think having the implementation in one file and the interface in
separate file is good.

Otherwise, if they are both in same physical file and one changes
say the implementation only, causing the time stamp on the file to
change, then hard to know later if one changed the implementation part
or the interface part in the file by looking at timestamps of
files that changed (make will not know also, so it thinks both changed).

Also having separate file for interface and implementation,
allows others to program against the interface file, while someone at same
time changing the implementation file without each getting in each others way.

> I think there is also a very big gap between beginner-level Ada and
> production-level Ada, and it's not very obvious how to bridge the gap.
> C++ has tons of online docs and you can learn what you need to
> gradually.  Plus it is easier to navigate C++'s library ecosystem.
> Alire(sp?) may help with that for Ada.  I haven't used it yet.

--Nasser

  reply	other threads:[~2022-07-30  4:23 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 21:13 Carbon Gautier write-only address
2022-07-23  9:09 ` Carbon John McCabe
2022-07-23 13:14 ` Carbon Dmitry A. Kazakov
2022-07-23 13:49   ` Carbon Stéphane Rivière
2022-07-24  9:09 ` Carbon Jeffrey R.Carter
2022-07-24  9:22   ` Carbon Dmitry A. Kazakov
2022-07-24  9:38 ` Carbon Luke A. Guest
2022-07-26 17:31   ` Carbon John McCabe
2022-07-27  8:10     ` Carbon Luke A. Guest
2022-07-27 17:24       ` Carbon John McCabe
2022-07-27 20:00         ` Carbon Luke A. Guest
2022-07-28 23:48           ` Carbon Nasser M. Abbasi
2022-07-29  4:34             ` Carbon Devin Rozsas
2022-07-29 11:03             ` Carbon John McCabe
2022-07-29 19:05               ` Carbon Gautier write-only address
2022-07-30  9:16                 ` Carbon John McCabe
2022-07-30  8:11               ` Carbon G.B.
2022-07-29 18:59             ` Carbon Gautier write-only address
2022-07-30  4:26               ` Carbon Nasser M. Abbasi
2022-07-30  9:21               ` Carbon John McCabe
2022-07-30  1:40             ` Carbon Paul Rubin
2022-07-30  4:23               ` Nasser M. Abbasi [this message]
2022-08-06 14:18             ` Carbon dennis knorr
2022-08-06 17:48               ` Carbon A.J.
2022-08-07  9:08               ` Carbon G.B.
2022-08-08 21:38                 ` Carbon dennis knorr
2022-08-08 22:28                   ` Carbon Dmitry A. Kazakov
2022-08-09  4:12                     ` Carbon Randy Brukardt
2022-08-09  6:05                       ` Carbon Paul Rubin
2022-08-09  7:22                       ` Carbon John McCabe
2022-08-10  1:19                       ` Carbon John Perry
2022-08-10  6:20                         ` Carbon Paul Rubin
2022-08-10 17:58                           ` Carbon John Perry
2022-08-10 18:10                             ` Carbon Dennis Lee Bieber
2022-08-10  8:24                         ` Carbon Luke A. Guest
2022-08-10 17:59                           ` Carbon John Perry
2022-08-18  1:02                             ` Carbon Randy Brukardt
2022-08-27  9:49                           ` Carbon John McCabe
2022-07-27 20:39         ` Carbon Simon Wright
2022-07-27 23:30           ` Carbon John McCabe
2022-08-25  9:14         ` Carbon Fabien Chouteau
2022-08-25 17:55           ` Carbon John Perry
2022-08-26 18:59             ` Carbon Olivier Henley
2022-08-26 20:23               ` Carbon Paul Rubin
2022-08-26 20:59                 ` Carbon Olivier Henley
2022-08-26 21:40                   ` Carbon Paul Rubin
2022-08-26 22:18                     ` Carbon Olivier Henley
2022-08-27  0:06                       ` Carbon Paul Rubin
2022-08-28  0:30                     ` Carbon John McCabe
2022-08-28  1:32                       ` Carbon Paul Rubin
2022-08-28  8:57                         ` Carbon John McCabe
2022-08-28 17:34                           ` Carbon G.B.
2022-09-01  6:46                             ` Carbon J-P. Rosen
2022-09-02 14:18                               ` Carbon G.B.
2022-09-02 14:59                                 ` Carbon J-P. Rosen
2022-09-02 17:55                                   ` Carbon Niklas Holsti
2022-09-02 18:45                                     ` Carbon J-P. Rosen
2022-09-03  0:23                                     ` Carbon Randy Brukardt
2022-08-28 20:43                           ` Carbon Paul Rubin
2022-08-29  8:57                             ` Carbon John McCabe
2022-08-28  0:14                 ` Carbon John McCabe
2022-08-28 17:39                   ` Carbon G.B.
2022-08-28 18:24                     ` Carbon Paul Rubin
2022-08-26 23:21               ` Carbon Jeffrey R.Carter
2022-08-27 11:27                 ` Carbon Rod Kay
2022-08-27 15:20                   ` Carbon John Perry
2022-08-27 23:47             ` Carbon John McCabe
2022-08-27 23:39           ` Carbon John McCabe
2022-07-27  8:45     ` Carbon Luke A. Guest
2022-07-27 13:16     ` Carbon Patrick Georgi
replies disabled

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