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


Groups > comp.lang.c > #111870

Re: should c be a subset of c++?

From GOTHIER Nathan <nathan.gothier@gmail.com>
Newsgroups comp.lang.c
Subject Re: should c be a subset of c++?
Date 2017-06-09 02:06 +0200
Organization A noiseless patient Spider
Message-ID <20170609020648.c723063a79271e3cd57e365f@gmail.com> (permalink)
References <32c7b61e-1216-4b5d-8a4d-4c56af7cecf3@googlegroups.com> <d5439a2a-1230-4e26-9251-3f3b6527684b@googlegroups.com>

Show all headers | View raw


On Thu, 8 Jun 2017 13:19:11 -0700 (PDT)
brook.monroe@gmail.com wrote:

> Bjarne arrogant?  He's never seemed that way to me.  Linus Torvalds, on the
> other hand....  Has Bjarne, to the best of anyone's knowledge. ever accused
> individuals who didn't understand C++ of being "morons" the way Linus did for
>people who don't understand Git?

He's not arrogant but a C loser. That's why he ripped off C to rehabilitate his
self esteem. Despite playing the partition of a victim offensed by dumb
programmers, C++ is a pile of gadgets with no fundamental reasons to be required
in a programming language.

ITOH Linus TORVALDS can have hard words against his peers but most of the time
it is fairly justified. He's in charge of a kernel code base, that's not a
lambda code for a rotten app sold at low price on a click store for kids.


> C was good for what it was good for.  There's a lot of it still out there,
> which attests to its longevity.  (For example, Linux.  What is it with Linus,
> anyway?)  You can still write C in most C++ compilers (except for the wonky
> original K&R function argument syntax).

I can assure you that C is still relevant nowadays and even more against the
current more bloated than ever C++.

Actually you lost all your credibility pretending C programs are obsolete and
can be built with C++ compilers as if C++ was an upper layer of C.

Consequently, if C is no more relevant, according to the concept of
inheritance, a fundamental part of C++ should be removed.


> There are a lot of things for which C is pretty bad, though.  Deterministic
> release of resources and memory, for example.  RAII--a seriously useful
> concept--just doesn't work in C.  C++ alias, compile-time const, and constexpr
> are better than #define macros any day of the week.

Memory management is the key point that enables to distinguish skilled C coders
from C++ monkeys expecting the compiler to be clever than the programmer.


> From a purely practical standpoint, I'm far more capable and effective in C++
> than I ever was in C.  I agree that C++ still has issues when it comes to
> embedded programming, but outside of that, and in practical terms, C just
> doesn't do a good job of keeping up in the 21st century.  That doesn't make it
> bad--it just makes it not the first tool of choice in most low-level
> programming tasks outside of embedded.

You should also agree with the fact that you are so bad at C that only C++ can
compile your crippled code.


> Here's the thing that I meant to say: ad hominem arguments just show you don't
> actually have any argument to make.  Discussions of whether C++ is better than
> C (or chocolate, or claw hammers) shouldn't revolve around whether or not
> Bjarne has personality defects.  (Perhaps he does.  I haven't detected them.  I
> wish I could say that about Linus Torvalds.  Actually, I don't wish that, but
> it makes me seem nicer if I write that.) 

That's always the same song... with the same partition.

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


Thread

Re: should c be a subset of c++? brook.monroe@gmail.com - 2017-06-08 13:19 -0700
  Re: should c be a subset of c++? supercat@casperkitty.com - 2017-06-08 14:06 -0700
  Re: should c be a subset of c++? Melzzzzz <Melzzzzz@zzzzz.com> - 2017-06-08 21:40 +0000
  Re: should c be a subset of c++? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-09 00:04 +0200
    Re: should c be a subset of c++? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-06-08 18:12 -0400
      Re: should c be a subset of c++? jacobnavia <jacob@jacob.remcomp.fr> - 2017-06-09 00:38 +0200
        Re: should c be a subset of c++? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-09 01:19 +0100
    Re: should c be a subset of c++? Ian Collins <ian-news@hotmail.com> - 2017-06-09 12:06 +1200
    Re: should c be a subset of c++? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-09 01:15 +0100
  Re: should c be a subset of c++? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-09 02:06 +0200
    Re: should c be a subset of c++? "Pascal J. Bourguignon" <pjb@informatimago.com> - 2017-06-09 02:55 +0200
      Re: should c be a subset of c++? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-09 09:58 +0200
    Re: should c be a subset of c++? supercat@casperkitty.com - 2017-06-09 09:29 -0700
      Re: should c be a subset of c++? GOTHIER Nathan <nathan.gothier@gmail.com> - 2017-06-09 21:57 +0200

csiph-web