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


Groups > comp.lang.c > #111866

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

From Lew Pitcher <lew.pitcher@digitalfreehold.ca>
Newsgroups comp.lang.c
Subject Re: should c be a subset of c++?
Followup-To comp.lang.c
Date 2017-06-08 18:12 -0400
Organization The Pitcher Digital Freehold
Message-ID <ohchue$rhn$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>

Followups directed to: comp.lang.c

Show all headers | View raw


jacobnavia wrote:

> Le 08/06/2017 à 22:19, brook.monroe@gmail.com a écrit :
>  From a purely practical standpoint, I'm far more capable and effective
> in C than I ever would be in C++.
> 
> THE REASON IS THAT C IS A SIMPLE LANGUAGE, EASY TO USE.
> 
> Woops, I had the caps lock on. But now that I read it like that, it
> looks ok. Why not say it clearly.
> 
> I agree that C still has issues when it comes to programming, but
> outside of that,
> 
> and in practical terms, C++ just doesn't do a good job of keeping up in
> the 21st century.
> 
> The complexity of C++ is so staggering, and so way beyond what is
> necessary to learn a language that it is not adapted to the human brain.

This reminds me of the answer Brian Kernighan gave an interviewer[1] 
regarding programming in C++:

  Sometimes I do write C++ instead of C. C++ I think is basically too big a
  language, although there's a reason for almost everything that's in it.
  When I write a C program of any size, I probably will wind-up using 75,
  80, 90% of the language features. In other words, most of the language is
  useful in almost any kind of program. By contrast, 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
  ...

[1] https://www.cs.cmu.edu/~mihaib/kernighan-interview/

[snip]


-- 
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

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