Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!bbn!ginosko!uunet!mcvax!unido!uniol!henseler
From: henseler@uniol.UUCP (Herwig Henseler)
Newsgroups: comp.lang.c
Subject: Re: What I'd really like to see in an if-statement...
Message-ID: <747@uniol.UUCP>
Date: 11 Aug 89 13:15:45 GMT
References: <5024@alvin.mcnc.org> <1300@atanasoff.cs.iastate.edu> <456@helios.prosys.se> <14521@bfmny0.UUCP> <14223@haddock.ima.isc.com>
Organization: University of Oldenburg, W-Germany
Lines: 30

Hello, world.

karl@haddock.ima.isc.com (Karl Heuer) writes:
> In article <14521@bfmny0.UUCP> tneff@bfmny0.UUCP (Tom Neff) writes:
> >It would be fun to have such a thing, it would make expressing lots of
	       ^^^
Oh, boy! I think when ADA was created, everyone said something like
"Wouldn't it be fun if ADA has ..". The results is a heavily overloaded
language which is *very* hard to learn because of the many ways to express
the same thing. A programmer must not only learn how to write a language,
but also to *read* programs from others. Therefore you have to know all
statements/functions/predicates it offers.

> It would "break a lot of things in C"?  I admit that "x valid C, but I seriously doubt that it gets used heavily!

That's my opinion. The famous #define makes almost every syntactic sugar
possible if *you* want it.

> But still, it would be a new wart in a language that already has too many.  If
> it could be defined in such a way that the language became *simpler*, I'd like
> it a lot more.  (The ICON semantics come to mind.)

Absolute correct. The simpler, the better. (But I've never heard of ICON.
What is it?)

	bye, Herwig
--
** Herwig Henseler (CS-Student) D-2930 Varel, Tweehoernweg 69 | Brain error- **
** EMail: henseler@uniol.UUCP (..!uunet!unido!uniol!henseler) | core dumped  **