Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: usecases of void foo(char **b) {} Date: Thu, 03 Nov 2016 12:14:37 -0700 Organization: None to speak of Lines: 30 Message-ID: References: <3a09f5ec-d4f7-40fa-9855-b5c3f02ce4e9@googlegroups.com> <87ziljks6k.fsf@bsb.me.uk> <2199a2dd-d844-4f8d-bfe0-6a7c2854277b@googlegroups.com> <87twbqlsin.fsf@bsb.me.uk> <87oa1yljof.fsf@bsb.me.uk> <87ins5k15t.fsf@bsb.me.uk> <87bmxxm6zs.fsf@gmail.com> <9bdd25b5-8462-4783-b410-4bbd69c9913d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="1f4b9cbd880ce3f40faed57282e3b9ef"; logging-data="16167"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xVsSv22lOd0jE85rxcaSP" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:m3SwbC3Rf0hR5ZVysSpFYwvStc8= sha1:asV+t1zdJ1TlmW3wKxONoi9yWAg= Xref: csiph.com comp.lang.c:95685 BartC writes: > On 03/11/2016 17:14, Richard Heathfield wrote: >> On 03/11/16 16:43, BartC wrote: > >>> It doesn't matter what it is. You can just read it. Like reading >>> something in English without using a translator or having to learn a new >>> language. >> >> Actually, I couldn't read it, and needed supercat's translation in order >> to understand it. > > I don't believe you. "Array[0..5] of Integer"? Come on! > > The big difference from C is that a declaration is linear; it's not > nested like an expression, requiring to jump forwards and backwards > within it, and with the name of whatever is being declared buried > somewhere inside. > > THAT is what makes C hard; take that away and you can usually figure out > whatever syntax is being used. Take that away and you have something that your compiler will reject (or, if you're unlucky, interpret correctly but not in the way you intended). Have fun with that. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"