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


Groups > comp.lang.c > #111867

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

From jacobnavia <jacob@jacob.remcomp.fr>
Newsgroups comp.lang.c
Subject Re: should c be a subset of c++?
Date 2017-06-09 00:38 +0200
Organization A noiseless patient Spider
Message-ID <ohcjf4$5vh$1@dont-email.me> (permalink)
References <32c7b61e-1216-4b5d-8a4d-4c56af7cecf3@googlegroups.com> <d5439a2a-1230-4e26-9251-3f3b6527684b@googlegroups.com> <ohchet$vl9$1@dont-email.me> <ohchue$rhn$1@dont-email.me>

Show all headers | View raw


Le 09/06/2017 à 00:12, Lew Pitcher a écrit :
> if I write in C++ I
>    probably don't use even 10% of the language, and in fact the other 90% I
>    don't think I understand. In that sense I would argue that C++ is too big

He said that in July 2000. Before all the "enhancements" that came later!

Now, the percentage would be 1% to 99%?

And they do not seem to be able to stop...

More and more features are added, new syntax and semantics in even more 
new paradigms taken from Common Lisp, for instance.

The problem now is that there is no longer any human brain that 
understands the whole language.

The brain of Bjarne, that started all that, is unable to add a new 
feature after some years of effort. Nobody really understands all the 
aspects of C++ any more, and in complex systems there is NO OTHER method 
that starting up the debugger, and figuring out what is being called and 
how the control flows in a given execution path.

The only method in C to do this kind of unreadable code is to use tables 
of function pointers, for instance, dynamically assigned. But in 
general, you CAN read some C code and see what it is doing.

What we must understand is that there is no free lunch. Increased 
complexity of the language is expensive in work that is needed to 
understand a piece of code when the original  writer is absent or worst, 
he has forgotten what his code was doing.



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