🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4036

Re: Situation indicators (long) (was: How to eliminate GOTO?)

#4036
From: halasz
Date: Tue, 19 Sep 1995 00:27
23 lines
1545 bytes
In article <GUENTHER.95Sep13001250@lunen.gac.edu>, guenther@gac.edu (Philip Guenther) writes
> ....
> In designing C, dmr choose a set of language features that were all
> well within the range of implentability on the machines of the time.
But other things, too, motivated him.  For one thing, if he had thought
at least of "break <label>" I am sure that it would hav been in the
language.  For another, C has abbreviation: if a declaration has no type
in it, the type is 'int'.  In the same spirit, "sin", "cos", &c all take
'double' and yield 'double'.  When record first was implemented in C, the
field-name was global--that is, this was not legal:
	struct { char a, b;
	} K;
	struct { int a, b;
	} L;
.  Field "b" has not the same offset in both records.

This name itself, "double", is a mark of not enough thinking it through,
for if he had, it were "long float", as it had been suggested.

> While the numerical extensions groups is working to remove the
> vestiges of its implementation roots on the arithmetic side, the core
> ideas of flow control and the like haven't really changed.
And makind a mess of it, too.
Technical Details
Message-ID: <43l2q9$jr@caip.rutgers.edu>
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
References: <4321kd$cne@news0.rain.rg.net> <GUENTHER.95Sep13001250@lunen.gac.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!caip.rutgers.edu!not-for-mail
From: halasz@caip.rutgers.edu
Newsgroups: comp.std.c
Subject: Re: Situation indicators (long) (was: How to eliminate GOTO?)
Date: 18 Sep 1995 20:27:53 -0400
Organization: Rutgers University
Message-ID: <43l2q9$jr@caip.rutgers.edu>
References: <4321kd$cne@news0.rain.rg.net> <GUENTHER.95Sep13001250@lunen.gac.edu>
NNTP-Posting-Host: caip.rutgers.edu