comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@acm.nospam.org>
Subject: Re: tagged type as generic parameter
Date: Thu, 03 Jan 2008 21:37:12 GMT
Date: 2008-01-03T21:37:12+00:00	[thread overview]
Message-ID: <cAcfj.19852$Ux2.9196@attbi_s22> (raw)
In-Reply-To: <837jlf.9p9.ln@hunter.axlog.fr>

Jean-Pierre Rosen wrote:
> Yeap. In these times where everybody is talking about OOP, people tend 
> to move from "everything can be done with inheritance" to "everything 
> must be done with inheritance". To be honnest, some languages offer 
> inheritance as the only way, so there is no choice.

Given the OP's comment that the formal is tagged so that he will be able to 
build lists of the type implies that he comes from a background in such a language.

> When you are lucky enough to have a language that supports multiple 
> paradigms, composition has its value.

I agree. Programming by extension, emphasizing, as it does, ease of writing over 
ease of reading, should be avoided whenever possible by SW engineers, and used 
with the same reluctance and care that they give to gotos and access types.

-- 
Jeff Carter
"Have you gone berserk? Can't you see that that man is a ni?"
Blazing Saddles
38



  parent reply	other threads:[~2008-01-03 21:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-03 15:20 tagged type as generic parameter Philippe Tarroux
2008-01-03 15:51 ` Dmitry A. Kazakov
2008-01-03 16:22   ` Adam Beneschan
2008-01-03 16:58     ` Dmitry A. Kazakov
2008-01-03 17:47       ` Jean-Pierre Rosen
2008-01-03 18:13         ` Pascal Obry
2008-01-03 19:20         ` Dmitry A. Kazakov
2008-01-03 21:37         ` Jeffrey R. Carter [this message]
2008-01-04 13:08           ` Philippe Tarroux
2008-01-04 15:03             ` Jean-Pierre Rosen
2008-01-04 13:08   ` Philippe Tarroux
2008-01-04 13:22     ` Georg Bauhaus
2008-01-04 15:38       ` Philippe Tarroux
2008-01-04 14:17     ` Dmitry A. Kazakov
replies disabled

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