C programming style

Ned Robie ned at SCIRTP.UUCP
Sat Jul 13 08:14:49 AEST 1985


> Progams should be as language-independent as possible.  It shouldn't
> matter whether the program is in C, Pascal, Ada, or even the dreaded
> APL, but that it can be understood by *anyone* who needs to look at the
> program.  If you limit that *anyone* to "experienced C programmers",
> you're limiting the possibilities of that program.
> 
> Dan  /* comments are of course welcome */

I disagree.  If programs were written to be as "language-independent" as
possible, what kind of languages would we be using???  Wouldn't this have
the net effect of significantly slowing the evolution of computer language?

I mainly program in C and Pascal, but I'm very glad that I had the opportunity
to learn and use APL.  It is a unique language with many good ideas.  It is
not perfect, but then no language is.  It is not effective in all applications;
no language that I'm aware of is.  But I found it to be a refreshing, exciting,
and fun(!) way to solve problems.  Best of all, it made me a better programmer.

The short-term benefits of *everyone* programming in compliance with the
current popular semantic model are appealing, but the long-term results
would be to retard the research and development of other forms of human/
computer communication.  In light of the fact that many of today's problems
cannot be adequately expressed to a machine, this would be a grave mistake.

-- Ned Robie



More information about the Comp.lang.c mailing list