comp.lang.ada
 help / color / mirror / Atom feed
From: Ingemar Ragnemalm <ingemar@lysator.liu.se>
Subject: Re: Programming language vote - results
Date: 1997/11/29
Date: 1997-11-29T00:00:00+00:00	[thread overview]
Message-ID: <347F6796.5673@lysator.liu.se> (raw)
In-Reply-To: 34720f1c.0@131.162.2.91


Kevin Swan wrote:
> 
> Ingemar Ragnemalm (ingemar@lysator.liu.se) wrote:
> 
> : There are plenty of people who use C since it is "cool", but just can't
> : say what is so cool with it. It is cool because Mom can't understand it.
> : No, they won't say that. You can identify that kind of people by the
> : lack of comments in the code. They *want* it that way - and they are
> : many!
> 
> Huh?  What are you talking about?  Do you *really* think that's it?

I am talking about people I have met, and don't want to work with.
I wasn't talking about everybody. Re-read.

> I use
> C, and I don't mind telling you why.  It has nothing to do with how easy or
> hard it is, it has to do with how fast it is.  For small to medium sized
> programs, development time is fairly quick.  In terms of execution speed,
> it simply doesn't get any faster than compiled C code.  It puts you just
> above the assembly level, even permitting you to very easily work in
> assembly, if you want to optimize a tight little loop.

Execution speed is no better or worse than any other high-level language
(although it is queastionable if C is high-level), unless the code
generator and optimizer are poor. I've made comparisons. Have you?

I find C fairly comfortable for small hacks, like UNIX text filters.
Entire applications in C require you to enforce lots of rules that the
language doesn't have, or you get a mess.

> I try extra hard to make my C code EASY to read.  I comment generously.

If you comment generously, there's no reason to take offense when I
complain about people who don't.

I work with people who make clean, straight, readable C-code and
comment it well. I have no problems with them. We regularily interface
Pascal code and C code with great results.

> I find the syntax simple and intuitive, except when you get into pointers
> to pointers to pointers to .... and even then, its logical.

I don't. I find it clumsy, unnecessarily far from english, and many
constructs are little more than primitive macros. When reading other
people's code, I find Pascal-like languages comfortable since they
translate straight to english. With C-style languages, I have to do
one more step. It isn't *hard*, but it is harder than the straight-
forward english-like syntax.

If you think in C, OK, then I guess it is for you.

> Why would people *want* a language that was difficult to work in?  That's
> called "assembly." If you think C is so difficult, why the they choose to
> model Java's syntax after C?  After all, Java was intended to be one of the
> easiest possible languages to learn, with a very shallow learning curve,
> and has been quite successful at it.

Not because it was *good* but because it was *popular*. And Java is
definitely not the easiest to learn. It is just hyped to the level where
everybody feels they *must* learn it. Do you find AWT easy to work with?

> I can't even venture a guess at why you made the comments you did.  It
> almost sounds like you're mad, or resentful at C programmers, but I can't
> imagine why.

I am a bit irritated at C users who refuse to make their code readable,
by using the least readable constructs and refusing to comment the code.
They do exist, and they are many, especially at universities.

Mad, well, perhaps at one thing: how C programmers tend to flame other
high-level languages without knowing what they are talking about. You
know, like "my dad is stronger than your dad".

> Perhaps you're jealous of something, or got a low mark in
> your C course, and are taking it out on the language.

Keep the personal flames out of this. If you need to know, I know C
well, have written much C code, including fairly large applications.
I used Pascal rather little at the university, since all the courses
only used vanilla Pascal. I remember Simula was fascinating for its
OO features (before C++ even existed). I mostly used assembly at home.

I started application programming in C, since that's what people said
was
what I "should" use. When I switched to Pascal, total development time
was cut in half. Yes, it takes a little more time to write the initial
code, but it takes *much* less time to get the bugs out.

My conclusion is that Algol-style syntax suits my programming style
well.

> At any rate, I
> suggest you give it a second look.  Its easy to learn, very fast, and an
> industry standard.

I look at it every day, thank you very much. I just wish I could do
that a bit less, with more time in Pascal, Ada, Simula etc.

/Ingemar




  reply	other threads:[~1997-11-29  0:00 UTC|newest]

Thread overview: 147+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <343fbb5a.0@news.iprolink.ch>
1997-10-11  0:00 ` Programming language vote - results Gary L. Scott
1997-10-12  0:00   ` Jack Rudd
1997-10-13  0:00     ` Robert Munck
1997-10-13  0:00       ` Jack Rudd
1997-10-13  0:00       ` Gary L. Scott
1997-10-13  0:00     ` safetran
1997-10-13  0:00       ` Jack Rudd
1997-10-14  0:00         ` Philip Brashear
1997-10-14  0:00           ` Gary L. Scott
1997-10-13  0:00       ` FRS DES
1997-10-13  0:00     ` Gary L. Scott
     [not found]     ` <3442B745.5352@lmco.com>
1997-10-15  0:00       ` Gary L. Scott
1997-10-16  0:00       ` James Giles
1997-10-16  0:00         ` Andrew Haley
1997-10-13  0:00   ` David Ness
1997-10-14  0:00     ` Jan Karman
1997-10-15  0:00       ` Alan E & Carmel J Brain
1997-10-15  0:00         ` D'Arcy J.M. Cain
1997-10-15  0:00           ` Mark Stephen
1997-10-17  0:00             ` Randy MacDonald
1997-10-15  0:00           ` FRS DES
1997-10-16  0:00           ` Randy MacDonald
1997-10-16  0:00           ` Alan E & Carmel J Brain
1997-10-16  0:00             ` John Sullivan
1997-10-17  0:00               ` Alan E & Carmel J Brain
1997-10-17  0:00                 ` John Sullivan
1997-10-17  0:00               ` Randy MacDonald
1997-10-16  0:00             ` FRS DES
1997-10-17  0:00               ` Jerry van Dijk
1997-10-17  0:00             ` Randy MacDonald
1997-10-20  0:00               ` Alan E & Carmel J Brain
1997-10-20  0:00                 ` FRS DES
1997-10-21  0:00                   ` Alan E & Carmel J Brain
1997-10-20  0:00                 ` Lawrence Kirby
1997-10-20  0:00                   ` Kaz
1997-10-21  0:00                     ` Alan E & Carmel J Brain
1997-10-23  0:00                     ` Ada Readability (Re: Programming language vote - results) Ray Blaak
1997-10-21  0:00                   ` Programming language vote - results Alan E & Carmel J Brain
1997-10-21  0:00                 ` Randy MacDonald
1997-10-22  0:00                   ` Don Guinn
1997-10-29  0:00                     ` Randy MacDonald
     [not found]                     ` <01bce1bf$5c2baaa0$95b66bcf@dkelly.ark.com>
1997-10-29  0:00                       ` Don Guinn
1997-10-29  0:00                         ` Shmuel (Seymour J.) Metz
1997-10-31  0:00                         ` Documenting Code (was:Programming language vote - results) Alan E & Carmel J Brain
1997-10-30  0:00                           ` Charles Lin
1997-10-30  0:00                             ` James L. Ryan
1997-10-31  0:00                               ` Robert Bernecky
1997-10-31  0:00                             ` Robert Bernecky
1997-11-01  0:00                           ` Randy MacDonald
1997-11-01  0:00                             ` Robert Dewar
1997-11-03  0:00                               ` Jon S Anthony
1997-10-29  0:00                       ` Programming language vote - results FRS DES
1997-10-25  0:00                   ` Alan E & Carmel J Brain
1997-10-26  0:00                     ` functionality of Java (was Re: Programming language vote - results) Randy MacDonald
1997-10-23  0:00                 ` Programming language vote - results Jack Rudd
1997-10-25  0:00                   ` Alan E & Carmel J Brain
1997-10-25  0:00                     ` Kaz
1997-10-26  0:00                       ` FRS DES
1997-10-27  0:00                       ` Robert Bernecky
1997-10-27  0:00                         ` APL argument W. Wesley Groleau x4923
1997-10-28  0:00                           ` Randy MacDonald
1997-10-28  0:00                         ` Programming language vote - results Jan Karman
1997-10-28  0:00                           ` Robert Bernecky
1997-10-28  0:00                             ` James L. Ryan
1997-10-29  0:00                               ` Robert Bernecky
     [not found]                                 ` <bosworth-2910972044300001@access59.accsyst.com>
1997-10-30  0:00                                   ` Robert Bernecky
1997-10-30  0:00                                     ` James L. Ryan
1997-10-31  0:00                                       ` Robert Bernecky
1997-10-31  0:00                                         ` James L. Ryan
1997-10-29  0:00                     ` Jack Rudd
1997-10-25  0:00                 ` Peter Seebach
1997-11-18  0:00                   ` Ingemar Ragnemalm
1997-11-18  0:00                     ` Lawrence Kirby
1997-11-24  0:00                       ` Martin M Dowie
1997-11-25  0:00                         ` Mark Wilden
1997-11-25  0:00                           ` Martin M Dowie
1997-11-26  0:00                             ` Lawrence Kirby
1997-11-26  0:00                           ` FRS DES
1997-11-25  0:00                         ` Kaz Kylheku
1997-11-26  0:00                           ` Peter Seebach
1997-12-02  0:00                           ` ANDREAS LEITNER
1997-12-02  0:00                             ` Robert Dewar
1997-12-02  0:00                             ` Lawrence Kirby
1997-12-03  0:00                               ` Billy Chambless
1997-12-03  0:00                                 ` Robert Dewar
1997-12-05  0:00                             ` John Sullivan
1997-11-18  0:00                     ` Kevin Swan
1997-11-29  0:00                       ` Ingemar Ragnemalm [this message]
1998-09-10  0:00                         ` Steven Katz
1997-11-18  0:00                     ` firewind
1997-11-18  0:00                       ` Larry Elmore
1997-11-20  0:00                         ` firewind
1997-11-18  0:00                       ` Kevin Swan
1997-11-19  0:00                         ` Alan E & Carmel J Brain
1997-11-19  0:00                       ` Mike Smith
1997-11-19  0:00                         ` Matt
1997-11-20  0:00                         ` firewind
     [not found]                           ` <3474C71B.536B12F6@cgocable.net>
1997-11-21  0:00                             ` CVigue
1997-11-23  0:00                           ` Lawrence Kirby
1997-11-24  0:00                             ` FRS DES
1997-11-20  0:00                       ` Terry Richards
1997-11-20  0:00                         ` Andy Knight
1997-11-23  0:00                         ` Alex Krol
1997-11-25  0:00                         ` William Tanksley
1997-11-26  0:00                           ` Ron Natalie
1997-11-27  0:00                             ` William Tanksley
1997-11-27  0:00                               ` Lawrence Kirby
     [not found]                                 ` <65keij$mkd$1@nerd.apk.net>
1997-11-27  0:00                                   ` Kaz Kylheku
1997-11-28  0:00                               ` Shmuel (Seymour J.) Metz
1997-12-01  0:00                                 ` FRS DES
1997-11-20  0:00                       ` Coding for Obscurity Alan E & Carmel J Brain
1997-11-20  0:00                         ` firewind
1997-11-20  0:00                           ` Jos A. Horsmeier
1997-11-20  0:00                         ` Stephan Wilms
1997-11-21  0:00                           ` Jos A. Horsmeier
1997-11-23  0:00                           ` Al Christians
1997-11-23  0:00                           ` Alex Krol
1997-11-24  0:00                             ` Jim Johnson
1997-11-24  0:00                               ` Mark Wilden
1997-11-26  0:00                                 ` Robert S. White
1997-11-26  0:00                                   ` Miguel Carrasquer Vidal
1997-12-01  0:00                                     ` ISONE
1997-12-01  0:00                                     ` ISONE
1997-11-26  0:00                                   ` Mark Wilden
1997-11-26  0:00                                   ` Leon Jones
1997-11-26  0:00                                     ` Ron Natalie
1997-11-27  0:00                                       ` Joerg Rodemann
1997-11-26  0:00                                     ` Lawrence Kirby
1997-11-27  0:00                                   ` Richard A. O'Keefe
1997-11-24  0:00                           ` Richard A. O'Keefe
1997-11-24  0:00                             ` Samuel T. Harris
1997-11-24  0:00                               ` Jon S Anthony
1997-11-25  0:00                                 ` Samuel T. Harris
1997-11-24  0:00                             ` Matt
1997-11-24  0:00                               ` Ed Falis
1997-11-20  0:00                       ` Programming language vote - results Andy Knight
1997-11-20  0:00                         ` firewind
1997-11-19  0:00                     ` Alan E & Carmel J Brain
1997-11-19  0:00                     ` Peter Seebach
     [not found]           ` <01bcdad2$fa9fdf60$25a43a91@basil.omroep.nl>
1997-10-17  0:00             ` D'Arcy J.M. Cain
1997-10-17  0:00         ` Robert I. Eachus
1997-10-14  0:00     ` Randy MacDonald
1997-10-13  0:00   ` Robert S. White
1997-10-13  0:00     ` Gary L. Scott
1997-10-13  0:00   ` Matthew Heaney
1997-10-14  0:00     ` Gary L. Scott
1997-10-19  0:00 ` William Rapp
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox