Article View: comp.lang.modula2
Article #2559Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++)
From: Viet-Trung Luu
Date: Fri, 29 Sep 1995 09:05
Date: Fri, 29 Sep 1995 09:05
39 lines
2504 bytes
2504 bytes
On 28 Sep 1995, Matthew Kennel wrote: > In what substantial way is Java C-like? From what I've seen/heard (from Sun's Web site), Java was designed to be like C++ without the "dangers" of C++ (features/misfeatures that are usually misunderstood, unsafe, or usually not used). > Somehow people are convinced of two things that I don't adhere to: > > * Java is very C-like, but better > > * Being C-like is automatically a plus. Being C-like obviously has an advantage -- the millions of C programmers out there (that's probably why C++ has succeeded -- it is *not* a great OO language). > I think it's a manefestation of the very foolish notion that "langauges that > superficially appear like C source code on a terminal are good, and ones > that don't are bad." Obviously, you dislike C's syntax. For those who *like* C's syntax (but possibly dislike C's dangers), looking like C is a good thing. After all, most of C is fine (as a procedural language), but *certain* things are dangerous and undesirable. As for the latter part of your statement, I have to disagree. Show me a syntax that I like and I will accept it. For example, I learned LISP over the summer. Its syntax is completely different. (However, I don't think it would work particularly well as a general programming language, but maybe I'm wrong.) Innovations in syntax are good. What I'm looking for is a language that is as expressive as possible, concise as possible, clear as possible, and safe as possible. I don't think that it's impossible to combine all the attributes. - Trung
Technical Details
Message-ID:
<Pine.SUN.3.91.950929045610.23185C-100000@lagrange.uwaterloo.ca>Path:
arc1-ca.pugleaf.net!lagrange.uwaterloo.ca!vluuReferences:
<438nkr$bd@classic.eng.octel.com> <DFI1rr.LyC@undergrad.math.uwaterloo.ca> <Pine.SUN.3.91.950926031537.27808B-100000@napier.uwaterloo.ca> <DFIrI3.K5M@beaver.cs.washington.edu> <DFKGHB.85C@undergrad.math.uwaterloo.ca> <44d9lb$inl@martha.utcc.utk.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2,comp.lang.modula3,comp.lang.c,comp.lang.c++,comp.lang.ada Path: arc1-ca.pugleaf.net!lagrange.uwaterloo.ca!vluu From: Viet-Trung Luu <vluu@lagrange.uwaterloo.ca> Subject: Re: Report on defect in M2 vs C (Was Modula-2, Modula-3, C or C++) Sender: news@undergrad.math.uwaterloo.ca (news spool owner) Message-ID: <Pine.SUN.3.91.950929045610.23185C-100000@lagrange.uwaterloo.ca> In-Reply-To: <44d9lb$inl@martha.utcc.utk.edu> Date: Fri, 29 Sep 1995 09:05:47 GMT Content-Type: TEXT/PLAIN; charset=US-ASCII References: <438nkr$bd@classic.eng.octel.com> <DFI1rr.LyC@undergrad.math.uwaterloo.ca> <Pine.SUN.3.91.950926031537.27808B-100000@napier.uwaterloo.ca> <DFIrI3.K5M@beaver.cs.washington.edu> <DFKGHB.85C@undergrad.math.uwaterloo.ca> <44d9lb$inl@martha.utcc.utk.edu> Nntp-Posting-Host: lagrange.uwaterloo.ca Mime-Version: 1.0 Organization: University of Waterloo