Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!mit.eternal-september.org!.POSTED!not-for-mail From: Richard Newsgroups: comp.lang.c Subject: Re: Constant strings Date: Sun, 27 Apr 2014 04:09:03 +0200 Organization: http://www.ieee.org/ Lines: 31 Message-ID: <87eh0j7ccg.fsf@gmail.com> References: <0.cfda95f524c227691d46.20140426125013BST.87r44k5myy.fsf@bsb.me.uk> <59228a61-206f-4037-a874-0925d76518f6@googlegroups.com> <87tx9fn4cs.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mit.eternal-september.org; posting-host="4af8175e487d1d8249b5548b81726a30"; logging-data="22031"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/NpPZ1qQW+7cvI2gXMDYQA8apZjcTB3hg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:ha5VOYN65UTzGzVpZUP6zWvl0/E= sha1:mEW6e5dmdVHNRT22NJUNjaWUnoI= Xref: csiph.com comp.lang.c:43633 Richard Damon writes: > On 4/26/14, 5:54 PM, Richard wrote: >> gazelle@shell.xmission.com (Kenny McCormack) writes: >> >>> In article , Keith Thompson >>> wrote: ... >>>> In C as it is, you can't pass an array to a subroutine at all. >>> >>> (Pedantic, CLC-ish answer, which should make Kiki proud) >>> >>> Because C doesn't have "subroutines". >> >> Can you elaborate please? I need a good cringe. >> > > My guess he is referring to the fact that in C we have just "functions", > but nothing called a "subroutine". Some languages make a distinction, > but in C we have "function returning void", where some other language > may call it a subroutine. But only a complete dickhead would differentiate when talking amongst peer programmers, right? I ask because as a programmer for 30 years it would be plainly obvious what was meant and would not alter *anything* even if used alternatively when discussing a C code base. -- "Avoid hyperbole at all costs, its the most destructive argument on the planet" - Mark McIntyre in comp.lang.c