Re: How to use generics?



On Thu, 10 May 2007 02:01:37 -0700, Moty Michaely <Moty...@xxxxxxxxx>
wrote:
...

I have used multiple inheritance, I can imagine what it's like, and I am
happy to not have it in C#. Likewise, I've been writing C++ for much
longer than "a couple of years", and nowhere near "half the code" I write
has MI. In fact, I stopped using it altogether when I get sick and tired
of the headaches it caused (see above and Christof's post regarding base
classes being inherited multiple ways). The implication in the latter
quote above is that I haven't been writing "proper" C++ code; at best, the
statement is tautological, and at worst it's insulting to me and anyone
else who uses C++ without multiple inheritance.

I never said that those who are not using MI aren't writing proper c+
+. what I meant was that the MI feature was dropped to help developers
avoid the headhaces you mentioned.

[...]

Actually I have. And don't get me wrong, but I find it just as
insulting that having a preference towards MI is wrong just because
some people get headaches using it. MI is more or less regarded "bad
design" (by some people) because it's difficult to maintain for some
developers, thereby insulting the work I've done over the last I don't
know how many years. I get headaches because I have to wrap code in
interfaces while I know it can be solved by introducing an idiom and
because I know that all those stupid interfaces and proxies that do
nothing besides being an interface or proxy are bad to maintain.

Statements like "over my dead body" from friend Anders himself only
contribute to that.

I think it should also be noted as well that the world is not this
black or white. People like Moty and me would like to see a solution
to a number of design / implementation problems. The tool that used to
solve these issue is MI. That's familiar and therefore that's
referred. Perhaps star-like constructions shouldn't be implemented at
all. Perhaps a new idiom is a better solution. I don't care how the
problems that arise from the lack of MI are solved; as a consumer I
merely want a proper solution.

Cheers,
Stefan.

.



Relevant Pages

  • Re: Mac stuff
    ... I had a peer to peer network running with shared printers. ... I had a four-line BBS running in the background as I used my machine for programming and writing. ... Windows 3.0 was a nightmare - it made me wish that Geoworks had more software available for it. ... I never liked the NT interfaces all that much. ...
    (alt.guitar.bass)
  • Re: Thoughts on Design
    ... exchanges) between those boxes. ... Will I need discovery mechanisms? ... their interfaces to the level of granularity that you require. ... Writing the glue that will make your interfaces behave as you ...
    (borland.public.delphi.non-technical)
  • Re: The Idiom - monthly online contest & publication for Short Story Writers
    ... writing, I thought I'd take a whack at yours: ... This is one of those professional writers who we told you about. ... VUlcan or a Klingon - but most of us turn up at cons dividing our time ... CONTENT and being insulting about it. ...
    (rec.arts.sf.composition)
  • Re: Lost for Words
    ... The Act makes it an offence to display "any writing, ... visible representation which is threatening, abusive or insulting, ...
    (uk.media.radio.archers)
  • Re: Buck Owens has a 10-3-39 by the tail
    ... the street and beaten by an angry mob for writing.. ... :<< I wasn't insulting the guy.. ... and I really don't need some wet behind ... :the ears freshouttacollege punk telling me how to post, ...
    (rec.sport.football.college)