Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: C/C++ question about dynamic "static struct" Date: Sat, 20 Oct 2012 12:13:26 +1300 Lines: 28 Message-ID: References: <507F380B.2060402@verizon.net> <8q66l9-lkm.ln1@wilbur.25thandClement.com> <5081D9DA.6020103@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net mKD2jHrF9kxZafRiPVB4cA9ux9/2OR9UdNOdiadfar5SyjYh5itHyKVm2OiVZIgN3y Cancel-Lock: sha1:gVML3rezVgeatfVjuQyFVn34qF8= User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:12.0) Gecko/20120423 Thunderbird/12.0 In-Reply-To: <5081D9DA.6020103@verizon.net> Xref: csiph.com comp.lang.c++:19111 comp.lang.c:27397 On 10/20/12 11:53, James Kuyper wrote: > On 10/19/2012 05:29 PM, Juha Nieminen wrote: > .... >> It's just that in an environment where both C and C++ are equally >> viable options (which is most of the environments where you would >> want to use either one), most experienced C++ programmers can't think >> of any reason why they should limit themselves to C. Because, to be >> frank, that would be quite a serious limitation. > > I'm sure that's quite normal thinking for anyone who would label > themselves a "C++ programmer". However, you should not be surprised to > find very different thinking among the people frequenting comp.lang.c, > where this message is also cross-posted. Anyone bothering to monitor > comp.lang.c (and there's a fair number of us) can reasonably be expected > to choose the simplicity of C over the complexity of C++ in at least > some circumstances. You might question the validity of that choice, but > you can't expect such questions to go over very well in that newsgroup. A one who works with and enjoys both languages, the statement "choose the simplicity of C over the complexity of C++" is one I have trouble with. C is undoubtedly a simpler language, but the the solutions to many day to day problems are undoubtedly simpler in C++. So the choice is often "do I want the simple solution in a more complex language, or the more complex solution in a simple language?". -- Ian Collins