Re: Accessing The Command Line

Liste des GroupesRevenir à cl ada 
Sujet : Re: Accessing The Command Line
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.ada
Date : 04. Jul 2024, 02:50:59
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v64v62$2erlp$2@dont-email.me>
References : 1 2
User-Agent : Pan/0.158 (Avdiivka; )
On Wed, 03 Jul 2024 18:16:01 -0700, Paul Rubin wrote:

C++ does that polymorphism stuff in iostream so you'd write
  std::cout << "my name: " << command_line << ...

I know. The disadvantage of the C++ scheme is you cannot easily reorder
items as necessary to fit the grammar of localized messages. That, I
think, is why lots of other languages (including Python and Lisp) have
copied the printf scheme, yet none have seen fit to copy the C++ scheme.

printf for some people is one of the motivations for dependent types.

I wonder how you would express such a thing in an Ada-friendly fashion?

Date Sujet#  Auteur
4 Jul 24 * Accessing The Command Line11Lawrence D'Oliveiro
4 Jul 24 +* Re: Accessing The Command Line4Paul Rubin
4 Jul 24 i`* Re: Accessing The Command Line3Lawrence D'Oliveiro
4 Jul 24 i +- Re: Accessing The Command Line1Rod Kay
4 Jul 24 i `- Re: Accessing The Command Line1Dmitry A. Kazakov
4 Jul 24 +* Re: Accessing The Command Line3Jeffrey R.Carter
5 Jul 24 i`* Re: Accessing The Command Line2Lawrence D'Oliveiro
5 Jul 24 i `- Re: Accessing The Command Line1J-P. Rosen
4 Jul 24 +- Re: Accessing The Command Line1Dmitry A. Kazakov
4 Jul 24 `* Re: Accessing The Command Line2Ben Bacarisse
5 Jul 24  `- Re: Accessing The Command Line1Paul Rubin

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal