🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #2166

Re: stupid cascade of errors

#2166
From: fir
Date: Fri, 04 Dec 2026 06:28
50 lines
3462 bytes
Janis Papanagnou pisze:
> On 2026-12-03 06:40, Steven G. Kargl wrote:
>> On Wed, 2 Dec 2026 21:17:36 +0100, fir wrote:
>>
>>> when you do a mistake and say left one not needed ) or }
>>> compiler make very long cascade of idiotic errors
>>>
>>> do they really must be so stupid?
>>
>> It seems that you may be looking at the issue wrong.
>> Modern editors/IDE have syntax highlighting and the
>> ability to display matching () and {}.  Heck, vi has
>> been able to display matching symbols for 30+ years.
>> Perhaps, the issue is a stupid compiler, but an
>> inattentive programmer.
> 
> Well, editor support and compiler diagnostics are quite
> different (and basically independent) things here.
> 
> A friend took that even further with 'vi'; whenever he
> writes something like, say, "if<Tab>" a complete frame
> with parentheses and braces was created (with marks for
> the condition and statements) (that could be jumped to
> by <Tab>). So the matching (...) and {...} weren't a
> problem since they were already generated pair-wise.
> 
> The point I see quoted from "fir", OTOH, is a valid
> programmer-request and typically tried to be addressed
> by compiler writers; to clearly identify not only the
> origin of an error, but also to not create aftereffects
> but find a good synchronization point to continue for a
> sensible error diagnostics. That's easier or harder and
> certainly depending on the specific language, and at the
> end the compiler writers should handle that as good as
> possible.
> 
> Concerning the quoted "idiotic errors" of "stupid" people
> we should of course also appreciate that it's first of
> all the inattentive/sloppy/"stupid" programmer to blame,
> and using tools' support (as you suggest) a sensible way
> to address personal writing disfunctionalities.
> 
> (Disclaimer: As I don't read fir's posts I'm not quite
> sure what his concrete problem actually is/was and who
> it is he blames, the C-language, a compiler tool, etc.)
> 
> Janis
> 
definitely its not a fault of c language..its a problem of compiler 
/compiler makers
Technical Details
Message-ID: <11etmii$179k1$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11epud7$3fup6$1@dont-email.me> <11eqvbn$3uj7j$1@dont-email.me> <11er1vj$2j9g5$3@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: fir <profesor.fir@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: stupid cascade of errors
Date: Fri, 4 Dec 2026 07:28:21 +0100
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <11etmii$179k1$1@dont-email.me>
References: <11epud7$3fup6$1@dont-email.me> <11eqvbn$3uj7j$1@dont-email.me>
 <11er1vj$2j9g5$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 04 Dec 2026 06:28:35 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1287809"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18sdxQ+ThDLdb2u6dd6MqUt2xrree369GQ="; posting-host="0b511c55509f9977df10f2b4b2cd2b70"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
 Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:RESCm71IGO/TY2E+uf/YkmY7iJ8= sha256:NPlpOIbCyy4tnPmBVbbsSHIzYlsbpvXbZh5c/SocH6s=
	sha1:qEybLqLM9ril0rcDwwDsUeqlmB0= sha256:sMp8OBZ0tuX4LeGXC1TT/Jtn38Z+KB9pzxqaN+5p6oE=
In-Reply-To: <11er1vj$2j9g5$3@dont-email.me>