Path: news.cs.au.dk!news.net.uni-c.dk!sunsite.auc.dk!newsfeed1.uni2.dk!newsfeed1.swip.net!swipnet!newsfeed.tli.de!newsfeed.wirehub.nl!skynet.be!poster!not-for-mail From: Jean-Louis Leroy Newsgroups: comp.lang.beta Subject: Re: Beginner at work: two dimensional value-based array generic Date: Fri, 08 Jan 1999 22:42:30 +0100 Organization: Starfleet Lines: 30 Message-ID: References: Reply-To: jll@skynet.be NNTP-Posting-Host: dialup471.brussels2.skynet.be Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news1.skynet.be 915831164 2028 195.238.24.215 (8 Jan 1999 21:32:44 GMT) X-Complaints-To: abuse@skynet.be NNTP-Posting-Date: 8 Jan 1999 21:32:44 GMT X-Newsreader: Virtual Access by Ashmount Research Ltd, http://www.ashmount.com Xref: news.cs.au.dk comp.lang.beta:11778 In article , Peter von der Ahé wrote: > hearing a talk by Bjarne Stroustrup Time well spent :) > I think you are. But consider that BETA is a small language with only > a few keywords. C++ is far more complex than BETA, when you consider > the amount of language constructs. Well, the fact is, most C++ collections I've used are collections of references. Since the STL has arrived, most of them are in the form std::collection or std::collection< somesmartptr >. It's *very* nice for a language to make it possible to implement new collections, as opposed to hard-coding them in the language. C++ has succeeded in this, but it has become an incredibly complex language in the process. Java, OTOH, is a near-total failure in that respect. The language includes fixed-size typesafe arrays, but doesn't have typesafe extensible arrays. You can't make them yourself either. As a result, you put an Apple in the basket, and you retrieve an Object...which you are forced to cast first thing. In some respects Java marries the disadvantages of C++-style strong static typing with the disadvantages of Smalltalk-style typelessness. Beta may have found the sane approach... Jean-Louis Leroy http://ourworld.compuserve.com/homepages/jl_leroy/