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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868fe8fe0ec86c1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-08 15:01:29 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!cyclone.swbell.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3B214B35.A08A7414@ftw.rsc.raytheon.com> From: Wes Groleau X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en,es,fr,pt MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: smalltalk vs. Ada References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 08 Jun 2001 17:01:25 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 992037688 151.168.144.162 (Fri, 08 Jun 2001 18:01:28 EDT) NNTP-Posting-Date: Fri, 08 Jun 2001 18:01:28 EDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:8456 Date: 2001-06-08T17:01:25-05:00 List-Id: > pass around pointers to everything. Java is also a by-reference language, > but for half-baked reasons. In fact, it's "pure-OO, everything's an object claim" is itself only half-baked. The programmer before doing anything with any name has to know whether it's an object or a primitive, since they have different semantics. A violation of "information hiding" in the sense that you can do almost nothing with "employeeNumber" without knowing something about it's implementation. > Smalltalk (like Java) is a class-oriented language, i.e. everything is an > instance of a class. Ada is not a class-oriented language. Both Smalltalk > and Java are "pure class-oriented" -- they have a single-rooted class Again, not really pure. > Ada has a hierarchial namespace. In Smalltalk, the class namspace is flat. Java has a sort of hierarchical namespace, but--here we go again--it's tied to a particular implementation: a hierarchical directory structure. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau