From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,699cc914522aa7c4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Structured exception information References: <1168885771.30643.20.camel@localhost> <1168891576.30643.39.camel@localhost> <5NKdnTv2UZfVZTbYnZ2dnUVZ_vipnZ2d@megapath.net> From: Markus E Leypold Organization: N/A Date: Wed, 17 Jan 2007 00:27:19 +0100 Message-ID: User-Agent: Some cool user agent (SCUG) Cancel-Lock: sha1:/hlQ++szu7aBbilF39QkYdfPlTk= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 88.72.212.13 X-Trace: news.arcor-ip.de 1168989778 88.72.212.13 (17 Jan 2007 00:22:58 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:8234 Date: 2007-01-17T00:27:19+01:00 List-Id: > It is things like this that make Ada no longer be my favourite language. > > Ada's whole approach to OO, while powerful, makes it inconvenient to express > things that are easily done in other languages. Unfortunately that applies to all languages that where subtyping polymorphism is coupled to implementation inheritance. That's why "factory patterns" had to be invented and they don't really work. If you want to have a look at a language where implementation inheritance and subtyping polymorphism are completely decoupled, have a look at i.e. OCaml. Together with type parameters that makes for real powerful OO. Regards -- Markus