From: geest3+@pitt.edu (Gregg E Economou)
Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA *
Date: 1998/08/30 [thread overview]
Message-ID: <6sagp1$hoi$1@usenet01.srv.cis.pitt.edu> (raw)
In-Reply-To: 6sac4v$4ti$1@Starbase.NeoSoft.COM
Many people wouldn't think of eating fries without ketchup. However,
none of those people would consider that the ketchup is a part of the
fries beyond the fact that for them the fries arent consumed without the
ketchup. But they can maintain the distinction in their minds.
Now it is even convention to find ketchup where one finds fries- they usually
even give you ketchup without asking when you buy fries. But nobody will
think that fries cannot exist wihtout ketchup.
In article <6sac4v$4ti$1@Starbase.NeoSoft.COM>,
Jordan Henderson <jordan@Starbase.NeoSoft.COM> wrote:
>I have to admit, I don't have the C standard at hand. However, I would
>be surprised if the standard >required< that command line arguments be setup
>by something "linked in". I believe that a conforming implementation
>could have the compiler writing all the code into the user's program
>necessary to perform this command line argument setup.
>
>I believe that a conforming implementation can write the code in-line
>for any Standard Library call (and optimize based on this in-lining).
>This seems to me to make the entire Standard Library part of the
>"core language".
>
>I think that, conceptually, the handling of command line arguments is
>part of the core language. What >is< part of the core language and what is
>not? And what is your justification for the separation?
Well, command line arguments is not part of the core language in C and
though in some languages they are, why should they be?
What is my justification for separation? Well, something as high-level
as command line arguments assumes that all programs have command line
invocations. Thats a weighty assumption. You presuppose that all programs
need them even if they dont have them, and thats another outlandish
assumption. Things like arguments is an operating-system-specific thing.
Certainly the runtime environment of the particular OS will have a convention
for such things as arguments, but thats where it should be handled, not
in the language!
The things in the standard C library are convenience routines. To demand
that they be part of the language itself places the assumption into the
language that those things are things that programs cannot exist without,
and show a dsitinct narrowmindedness about what programs do and a lack of
creativity in implementing them. Granted, usually all you need is some
simple i/o and so on, but who says that i am going to do i/o at all?
By first insisting that ketchup is a part of fries and then complaining
that because ketchup is part of fries your life is miserable because you
cant have mayo on them, you miss the entire point of fries, ketchup, and mayo
being separate entities. Now, some settings will provide you with a
fries&ketchup solution that is inseperable because theyve already stuck the
ketchup into the fries, and some places do likewise with mayo or vinegar.
What if i just want fries? What if i like mustard on them? Those package
deal places are fine for some people. Their analogy, the typed languages,
provide their restricitve constructs which give high-level abstractions.
C allows you the opportunity to build a high level abstraction should you
wish, but also lets you choose not to, and also provides the distincitve
facet of opportunity in that you can build whatever high level abstraction
you like wihtout limitation. You get the fries, and can not only choose
mayo or ketchup or vinegar, but can also bring your own condiment, if you
wish one.
ok, lets end this.
happy hacking,
gregg
next prev parent reply other threads:[~1998-08-30 4:00 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0095000017115526000002L062*@MHS>
[not found] ` <35E04DF1.1911@world.std.com>
[not found] ` <35E09E76.6773@earthlink.net>
1998-08-23 4:00 ` Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Terry C. Shannon
1998-08-23 4:00 ` Glenn C. Everhart
1998-08-24 4:00 ` Paul Sture
1998-08-25 4:00 ` Gregg E Economou
1998-08-25 4:00 ` Jordan Henderson
1998-08-26 4:00 ` Bob Koehler
[not found] ` <6s910k$2bo$1@Starbase.NeoSoft.COM>
1998-08-29 4:00 ` Gregg E Economou
1998-08-30 4:00 ` Jay Maynard
[not found] ` <35e833be.0@news.wizvax.net>
1998-08-29 4:00 ` Jordan Henderson
1998-08-30 4:00 ` Gregg E Economou [this message]
1998-08-30 4:00 ` K&R fight over ketchup (was: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA ) Clint Comes
1998-08-31 4:00 ` Bob Koehler
1998-09-05 4:00 ` Gregg E Economou
1998-08-30 4:00 ` Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * John Wilson
1998-08-30 4:00 ` Lawrence Kirby
1998-08-30 4:00 ` JF Mezei
1998-08-30 4:00 ` Martin Ambuhl
1998-08-31 4:00 ` Craig Franck
1998-08-30 4:00 ` JF Mezei
1998-08-31 4:00 ` firewind
[not found] ` <6scur7$qtk@bgtnsc02.wo <35EA0E22.C59E9476@videotron.ca>
1998-08-31 4:00 ` Will Rose
1998-08-31 4:00 ` Michael Rubenstein
1998-08-30 4:00 ` JF Mezei
1998-08-30 4:00 ` Chris Torek
1998-08-31 4:00 ` Gregg E Economou
1998-08-31 4:00 ` Chris Torek
1998-09-04 4:00 ` Thor Lancelot Simon
1998-09-05 4:00 ` Peter da Silva
1998-09-05 4:00 ` Jordan Henderson
1998-09-07 4:00 ` Peter da Silva
1998-09-07 4:00 ` Jordan Henderson
1998-09-07 4:00 ` Richard Stamp
1998-09-07 4:00 ` Dan Pop
1998-09-07 4:00 ` Peter da Silva
1998-09-07 4:00 ` Jordan Henderson
1998-09-08 4:00 ` Peter da Silva
1998-09-08 4:00 ` Peter da Silva
[not found] ` <6t2im5$mke@espresso.cafe.net>
1998-09-08 4:00 ` Peter da Silva
1998-09-08 4:00 ` Tim Shoppa
[not found] ` <6t4cui$hfu@espresso.cafe.net>
1998-09-09 4:00 ` Tim Shoppa
1998-09-08 4:00 ` JF Mezei
1998-09-09 4:00 ` Dan Pop
1998-09-09 4:00 ` Peter da Silva
1998-09-08 4:00 ` JF Mezei
1998-09-08 4:00 ` Dan Pop
1998-09-08 4:00 ` Peter da Silva
1998-09-08 4:00 ` Dan Pop
1998-08-25 4:00 ` John Wilson
1998-08-26 4:00 ` Gregg E Economou
1998-08-27 4:00 ` John Wilson
1998-08-26 4:00 ` Bob Koehler
1998-08-27 4:00 ` Peter da Silva
1998-08-31 4:00 ` Boris
1998-08-27 4:00 ` Thor Lancelot Simon
1998-08-28 4:00 ` Bob Koehler
1998-09-05 4:00 ` Peter da Silva
1998-09-08 4:00 ` Carl Perkins
1998-08-28 4:00 ` TERENCE MURPHY
1998-08-28 4:00 ` George Cornelius
1998-08-28 4:00 ` Monty Brandenberg
1998-08-28 4:00 ` Greg Thomas
1998-08-29 4:00 ` mathog
1998-09-01 4:00 ` Greg Thomas
1998-08-29 4:00 ` Gregg E Economou
1998-09-05 4:00 ` Peter da Silva
1998-08-31 4:00 ` Boris
1998-08-26 4:00 ` Paul Sture
1998-08-27 4:00 ` Gregg E Economou
1998-08-28 4:00 ` Paul Sture
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox