Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #6076

Re: Here is why C++ and C are bad...

From Richard Heathfield <rjh@cpax.org.uk>
Newsgroups comp.programming
Subject Re: Here is why C++ and C are bad...
Date 2015-12-29 22:19 +0000
Organization A noiseless patient Spider
Message-ID <n5v0p5$8s3$1@dont-email.me> (permalink)
References <n5kdn4$cji$1@dont-email.me> <n5uqdd$gin$1@dont-email.me> <n5v0di$7i3$1@dont-email.me>

Show all headers | View raw


On 29/12/15 22:13, David Brown wrote:
> On 29/12/15 21:31, Richard Heathfield wrote:
>> On 26/12/15 00:54, Ramine wrote:
>>>
> <snip>
>>
>> Your article says a lot more about your programming style than it does
>> about either C or C++.
>>
>
> While your post was technically correct, you are missing one critical
> detail - Ramine is a write-only bot, and never reads anything that is
> posted.

There is a very, very, very small body of evidence to the contrary. 
Practically microscopic, in fact, but nevertheless non-zero.

> He is also almost totally ignorant about C and C++ (I haven't
> studied his Delphi code enough to guess his knowledge there), so
> criticisms of his posts are usually obvious to everyone else already. If
> you can squeeze in some tips that might be interesting to others, or at
> least an entertaining Pythonesque insult, go for it - otherwise replying
> to Ramine is fairly pointless.

In this case, the tips I thought might be interesting to others were:

1) using namespace std; is so often a bad idea that I can't actually 
think of a good use for it. (Kaz was prompted to post a scenario in 
which the 'using namespace' construct could be useful, so that's a 
positive outcome.)

2) mixing of signed and unsigned expressions is very often a sign that 
the program hasn't been thought through properly. This, too, is (I 
think) a discussion that might also turn out to be profitable, despite 
its origins.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Here is why C++ and C are bad... Richard Heathfield <rjh@cpax.org.uk> - 2015-12-29 20:31 +0000
  Re: Here is why C++ and C are bad... Kaz Kylheku <kaz@kylheku.com> - 2015-12-29 21:20 +0000
  Re: Here is why C++ and C are bad... David Brown <david.brown@hesbynett.no> - 2015-12-29 23:13 +0100
    Re: Here is why C++ and C are bad... Richard Heathfield <rjh@cpax.org.uk> - 2015-12-29 22:19 +0000
      Re: Here is why C++ and C are bad... David Brown <david.brown@hesbynett.no> - 2015-12-30 09:56 +0100
        Re: Here is why C++ and C are bad... Richard Heathfield <rjh@cpax.org.uk> - 2015-12-30 13:28 +0000
          Re: Here is why C++ and C are bad... David Brown <david.brown@hesbynett.no> - 2015-12-30 14:55 +0100
            Re: Here is why C++ and C are bad... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-30 16:32 +0000
              Re: Here is why C++ and C are bad... David Brown <david.brown@hesbynett.no> - 2015-12-30 18:17 +0100
                Re: Here is why C++ and C are bad... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-30 20:01 +0000
          Re: Here is why C++ and C are bad... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-30 15:48 +0000
            Re: Here is why C++ and C are bad... Richard Heathfield <rjh@cpax.org.uk> - 2015-12-30 16:35 +0000
              Re: Here is why C++ and C are bad... David Brown <david.brown@hesbynett.no> - 2015-12-30 18:19 +0100
                Re: Here is why C++ and C are bad... Richard Heathfield <rjh@cpax.org.uk> - 2015-12-30 17:39 +0000
                Re: Here is why C++ and C are bad... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-30 20:26 +0000
              Re: Here is why C++ and C are bad... "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2015-12-30 18:32 +0100
              Re: Here is why C++ and C are bad... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-30 19:55 +0000
                Re: Here is why C++ and C are bad... Richard Heathfield <rjh@cpax.org.uk> - 2015-12-30 20:15 +0000
                Re: Here is why C++ and C are bad... Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-12-30 22:00 +0000
      Re: Here is why C++ and C are bad... Ian Collins <ian-news@hotmail.com> - 2015-12-31 10:16 +1300

csiph-web