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


Groups > comp.lang.c > #68790

Re: a style question:

From Bartc <bc@freeuk.com>
Newsgroups comp.lang.c
Subject Re: a style question:
Date 2015-09-01 01:13 +0100
Organization A noiseless patient Spider
Message-ID <ms2qfd$v8c$1@dont-email.me> (permalink)
References (1 earlier) <6e9323cb-1dff-4bff-b19a-d4b1da735ffb@googlegroups.com> <ms1bf1$peo$1@dont-email.me> <d4josjFqhdfU8@mid.individual.net> <ms2do6$d72$1@dont-email.me> <d4k6i5Ff37rU1@mid.uni-berlin.de>

Show all headers | View raw


On 01/09/2015 00:33, Jens Thoms Toerring wrote:
> Bartc <bc@freeuk.com> wrote:
>> But I can't follow C++ because, when people make full use of its
>> features as they like to do;
>
> Have you ever asked yourself why people like to to use them, even
> though you consider them to be "useless", "horrible", "over-com-
> plex" and what else? It's simple: because they're so damned use-
> ful and extend the expressiveness of the language into realms you
> can't even start imagining as long as you expect that everything
> must be done as it's done in C or similar lower-level languages.
>
> Perhaps you should attempt to realize that "higher-level lan-
> guage" doesn't mean "more functions to do some things that some
> people may want to do" (say printing an array or a structure,
> which all non-terminally-stupid users could do with a function
> of their own or might be supplied via a library). It means
> introducing new, more abstract concepts that allow the users
> of the language to do things that, in a lower-level language,
> not only are impossible but hardly can be thought of.

What sort of things?

I normally use a dynamic language, which is actually quite low-level 
compared with some, that can do much of what C++ can do, and with none 
of the fuss.

I remember nearly a year ago needing a JPEG library, and I could only 
find a C++ version that took ages to try and decipher. Eventually I 
found a C version (it might be the one Malcolm kindly sent me), that did 
the same thing and was far simpler. The C++ seemed to just be using all 
its bells and whistles for the sake of it. Because they are there.

In my position, I am unlikely to write or generate C++ code. But I 
sometimes need to interface to it, or to understand other people's code, 
or to convert it to a different language and for that purpose its 
features get in the way. Then, the less esoteric and abstract the better!

-- 
Bartc

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


Thread

a style question: G G <gdotone@gmail.com> - 2015-08-31 02:30 -0700
  Re: a style question: Ian Collins <ian-news@hotmail.com> - 2015-08-31 21:40 +1200
  Re: a style question: jt@toerring.de (Jens Thoms Toerring) - 2015-08-31 09:52 +0000
  Re: a style question: Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-08-31 03:24 -0700
    Re: a style question: Bartc <bc@freeuk.com> - 2015-08-31 11:50 +0100
      Re: a style question: Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-31 13:21 +0100
        Re: a style question: Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-08-31 05:41 -0700
        Re: a style question: Bartc <bc@freeuk.com> - 2015-08-31 14:55 +0100
          Re: a style question: Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-08-31 15:50 +0100
            Re: a style question: Bartc <bc@freeuk.com> - 2015-08-31 18:40 +0100
      Re: a style question: Melzzzzz <mel@zzzzz.com> - 2015-08-31 17:46 +0200
        Re: a style question: Bartc <bc@freeuk.com> - 2015-08-31 17:27 +0100
          Re: a style question: Melzzzzz <mel@zzzzz.com> - 2015-08-31 18:42 +0200
      Re: a style question: Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-08-31 17:41 +0000
        Re: a style question: Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-08-31 15:33 -0700
          Re: a style question: Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-09-01 08:34 +0000
      Re: a style question: Ian Collins <ian-news@hotmail.com> - 2015-09-01 07:40 +1200
        Re: a style question: Bartc <bc@freeuk.com> - 2015-08-31 21:36 +0100
          Re: a style question: Ian Collins <ian-news@hotmail.com> - 2015-09-01 08:51 +1200
            Re: a style question: Bartc <bc@freeuk.com> - 2015-08-31 22:37 +0100
              Re: a style question: Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-08-31 15:24 -0700
                Re: a style question: Ian Collins <ian-news@hotmail.com> - 2015-09-02 19:37 +1200
          Re: a style question: jt@toerring.de (Jens Thoms Toerring) - 2015-08-31 23:33 +0000
            Re: a style question: Bartc <bc@freeuk.com> - 2015-09-01 01:13 +0100
              Re: a style question: Ian Collins <ian-news@hotmail.com> - 2015-09-01 18:21 +1200
              Re: a style question: jt@toerring.de (Jens Thoms Toerring) - 2015-09-01 15:23 +0000
                Re: a style question: Bartc <bc@freeuk.com> - 2015-09-01 18:06 +0100
                Re: a style question: Jorgen Grahn <grahn+nntp@snipabacken.se> - 2015-09-01 20:39 +0000
                Re: a style question: jt@toerring.de (Jens Thoms Toerring) - 2015-09-01 20:45 +0000
                Re: a style question: Bartc <bc@freeuk.com> - 2015-09-01 22:53 +0100
            Re: a style question: Malcolm McLean <malcolm.mclean5@btinternet.com> - 2015-08-31 17:51 -0700

csiph-web