Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: "...the value becomes,indeterminate each time the declaration is reached" Date: Mon, 25 Feb 2019 14:34:04 -0800 Organization: A noiseless patient Spider Lines: 18 Message-ID: <8636obebvn.fsf@mailhub.linuxsc.com> References: <8736oze00i.fsf@bsb.me.uk> <3f4afc9e-c532-4ee1-93f6-d6872c55928c@googlegroups.com> <87h8debdlm.fsf@bsb.me.uk> <6cc27732-6b74-4503-88e6-e0b991615a2a@googlegroups.com> <875ztub1vq.fsf@bsb.me.uk> <87ftsva8o7.fsf@bsb.me.uk> <62e2da0a-0d2d-49d5-8535-8ebf922eb014@googlegroups.com> <87a7j39ho4.fsf@bsb.me.uk> <75fe55ac-a651-454a-a1c4-5d63a290b1cb@googlegroups.com> <87sgwumf7m.fsf@bsb.me.uk> <87mun1n5s4.fsf@bsb.me.uk> <3a070eb4-bc4f-4e8f-bcc6-2ac10ff9dd93@googlegroups.com> <1ba7j0cmst.fsf@pfeifferfamily.net> <91b288de-78bb-4c3b-a3c9-788481730cde@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="0b225037cf1357b33e38b5d7f82ed86f"; logging-data="4073"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hRO1x0Q8B9joCYMhMnaiYMoO0hTK6geQ=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:M1JkHSuhn113XlaUKuiMyB1kDUE= sha1:LsuUH6SheJRoNp03OfZoUNLvV74= Xref: csiph.com comp.lang.c:141344 James Kuyper writes: > On Wednesday, February 13, 2019 at 4:30:57 AM UTC-5, Malcolm McLean wrote: > ... > >> You have the grammar in your head. And it's not the formal Backus Nuar >> grammar. No one learns C by looking at that and committing it to memory. > > I did, and I think most people do. [...] I would be very surprised if the facts bore this out. I usually look at language grammars for reference at some point, but that isn't how I learn the language to start with. If I had to bet, I think most students (either classroom or self-taught) never even look at a formal grammar, let alone learn the language that way. My experience learning C was out of (the original) K&R, and I certainly didn't look at formal syntax until I was done reading the main part of the book, because there was no need.