comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Using interfaces
Date: Sun, 3 Jun 2018 09:06:30 +0200
Date: 2018-06-03T09:06:30+02:00	[thread overview]
Message-ID: <pf041m$1sgu$1@gioia.aioe.org> (raw)
In-Reply-To: b185e329-d52c-44d8-a14e-a65833882bc3@googlegroups.com

On 2018-06-03 04:11, Shark8 wrote:
> On Saturday, June 2, 2018 at 12:43:34 PM UTC-6, Dan'l Miller wrote:
>>
>> For example, in many modern programming languages, Ada included, there is a natural tension between the OO feature-set and the generic/parameterized-types feature-set as 2 nearly duplicated ways of accomplishing analogous goals.
> 
> No.

Yes. Both are forms of polymorphism with the same goal of supporting 
generic programming = programming in terms of sets of types.

> OOP and Generics are orthogonal in  their goals: https://www.youtube.com/watch?v=9lv2lBq6x4A

They are orthogonal only in terms of implementation, so that they can be 
mixed and used independently.

[ Macros are automatically a meta-language and thus orthogonal to 
anything in the language. ]

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  parent reply	other threads:[~2018-06-03  7:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-02 15:20 Using interfaces gautier_niouzes
2018-06-02 15:55 ` Jere
2018-06-02 17:00 ` Dmitry A. Kazakov
2018-06-02 17:22 ` Jeffrey R. Carter
2018-06-02 18:43   ` Dan'l Miller
2018-06-03  2:11     ` Shark8
2018-06-03  3:06       ` Dan'l Miller
2018-06-03  7:06       ` Dmitry A. Kazakov [this message]
2018-06-04  9:32 ` gautier_niouzes
replies disabled

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