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


Groups > alt.folklore.computers > #215576

Re: “A damn stupid thing to do”—the origins of C

From Dan Espen <dan1espen@gmail.com>
Newsgroups alt.folklore.computers
Subject Re: “A damn stupid thing to do”—the origins of C
Date 2020-12-20 10:43 -0500
Organization A noiseless patient Spider
Message-ID <rrnrff$m36$1@dont-email.me> (permalink)
References (2 earlier) <rr8eg2$ld8$1@dont-email.me> <rr8g9n$4bd$1@dont-email.me> <rr8qmi$cis$1@dont-email.me> <slrnrtshe0.2ptb.grahn+nntp@frailea.sa.invalid> <rrnop2$7ji$1@dont-email.me>

Show all headers | View raw


Dallas <dallas@texas.usa> writes:

> On 12/19/2020 12:26 PM, Jorgen Grahn wrote:
>> On Mon, 2020-12-14, Dallas wrote:
>>> I took a multi-year hiatus from Usenet.  Went from needing serious
>>> consultation on C using comp.lang.c when I was a C programmer to
>>> looking at C as folklore after not using it (or Usenet) for a decade
>>> or so.
>>> So I missed my chance to interact with Dennis here.
>>> I would hate to live without a garbage collector these days.
>> You probably mean "I would hate to live with C's memory management".
>> Neither C++ nor Python (to name two popular languages) rely on a
>> garbage collector, but you still don't have to manage memory manually.
>> (I am a big fan of the C++ way of doing it, since from my point of
>> view, it stays in the C tradition, which I like.)
>
> I have little experience with C++
>
> How does C++ simplify memory management?

I know enough C++ to dislike it.

When objects go out of range, they get freed automatically.
Objects have destructors so you can embed all your cleanup in the
destructor and it gets invoked when you destroy the object or it goes
out of range.

Best thing about C++?  The  // comment delimiter.  Now mostly adopted by
C.

The very worst thing?  Templates.  Templates led to some of the worst
compile/link procedures I've ever seen.

-- 
Dan Espen

Back to alt.folklore.computers | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

“A damn stupid thing to do”—the origins of C Peter Flass <peter_flass@yahoo.com> - 2020-12-12 19:46 -0700
  Re: “A damn stupid thing to do”—the origins of C Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-12-13 08:07 +0000
  Re: “A damn stupid thing to do”—the origins of C Bob Eager <news0073@eager.cx> - 2020-12-13 14:49 +0000
    Re: “A damn stupid thing to do”—the origins of C Dallas <dallas@texas.usa> - 2020-12-14 13:30 -0600
      Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-14 15:00 -0500
        Re: “A damn stupid thing to do”—the origins of C scott@slp53.sl.home (Scott Lurndal) - 2020-12-14 21:13 +0000
        Re: “A damn stupid thing to do”—the origins of C Dallas <dallas@texas.usa> - 2020-12-14 16:58 -0600
          Re: origins of C Peter Flass <peter_flass@yahoo.com> - 2020-12-14 16:23 -0700
            Re: origins of C Jon Elson <elson@pico-systems.com> - 2020-12-15 21:54 -0600
              Re: origins of C Peter Flass <peter_flass@yahoo.com> - 2020-12-16 07:19 -0700
                Re: origins of C Thomas Koenig <tkoenig@netcologne.de> - 2020-12-16 16:06 +0000
                Re: origins of C scott@slp53.sl.home (Scott Lurndal) - 2020-12-16 17:17 +0000
                Re: origins of C Niklas Karlsson <anksil@yahoo.se> - 2020-12-17 13:02 +0000
                Re: origins of C Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-12-19 18:39 +0000
            Re: standard mania, was origins of C John Levine <johnl@taugh.com> - 2020-12-16 18:25 +0000
          Re: “A damn stupid thing to do”—the origins of C Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-12-19 18:26 +0000
            Re: “A damn stupid thing to do”—the origins of C Ahem A Rivet's Shot <steveo@eircom.net> - 2020-12-19 18:47 +0000
            Re: “A damn stupid thing to do”—the origins of C J. Clarke <jclarke.873638@gmail.com> - 2020-12-19 14:46 -0500
              Re: “A damn stupid thing to do”—the origins of C Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-12-20 16:14 +0000
                Re: “A damn stupid thing to do”—the origins of C J. Clarke <jclarke.873638@gmail.com> - 2020-12-20 11:29 -0500
            Re: “A damn stupid thing to do”—the origins of C Dallas <dallas@texas.usa> - 2020-12-20 08:57 -0600
              Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-20 10:43 -0500
                Re: “A damn stupid thing to do”—the origins of C Jorgen Grahn <grahn+nntp@snipabacken.se> - 2020-12-20 16:38 +0000
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-20 11:54 -0500
                Re: “A damn stupid thing to do”—the origins of C scott@slp53.sl.home (Scott Lurndal) - 2020-12-21 18:13 +0000
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-21 13:37 -0500
                Re: “A damn stupid thing to do”—the origins of C J. Clarke <jclarke.873638@gmail.com> - 2020-12-21 16:01 -0500
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-21 16:03 -0500
                Re: “A damn stupid thing to do”—the origins of C scott@slp53.sl.home (Scott Lurndal) - 2020-12-22 19:05 +0000
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-22 14:13 -0500
                Re: “A damn stupid thing to do”—the origins of C Vir Campestris <vir.campestris@invalid.invalid> - 2020-12-22 21:55 +0000
                Re: “A damn stupid thing to do”—the origins of C scott@slp53.sl.home (Scott Lurndal) - 2020-12-22 21:58 +0000
                Re: “A damn stupid thing to do”—the origins of C Ahem A Rivet's Shot <steveo@eircom.net> - 2020-12-20 17:04 +0000
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-20 13:19 -0500
                Re: “A damn stupid thing to do”—the origins of C Ahem A Rivet's Shot <steveo@eircom.net> - 2020-12-20 18:40 +0000
                Re: “A damn stupid thing to do”—the origins of C J. Clarke <jclarke.873638@gmail.com> - 2020-12-20 14:03 -0500
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-20 18:09 -0500
                Re: “A damn stupid thing to do”—the origins of C Thomas Koenig <tkoenig@netcologne.de> - 2020-12-21 08:11 +0000
                Re: “A damn stupid thing to do”—the origins of C Peter Flass <peter_flass@yahoo.com> - 2020-12-22 10:39 -0700
                Re: “A damn stupid thing to do”—the origins of C Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-12-21 17:33 +0000
                Re: “A damn stupid thing to do”—the origins of C Peter Flass <peter_flass@yahoo.com> - 2020-12-20 17:35 -0700
                Re: “A damn stupid thing to do”—the origins of C scott@slp53.sl.home (Scott Lurndal) - 2020-12-21 18:10 +0000
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-21 13:23 -0500
                Re: “A damn stupid thing to do”—the origins of C J. Clarke <jclarke.873638@gmail.com> - 2020-12-21 13:37 -0500
                Re: “A damn stupid thing to do”—the origins of C scott@slp53.sl.home (Scott Lurndal) - 2020-12-22 18:59 +0000
                Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-22 14:23 -0500
                Re: “A damn stupid thing to do”—the origins of C Thomas Koenig <tkoenig@netcologne.de> - 2020-12-21 19:31 +0000
      Re: “A damn stupid thing to do”—the origins of C Ahem A Rivet's Shot <steveo@eircom.net> - 2020-12-14 20:17 +0000
      Re: “A damn stupid thing to do”—the origins of C maus <maus@dmaus.org> - 2020-12-14 21:24 +0000
        Re: “A damn stupid thing to do”—the origins of C J. Clarke <jclarke.873638@gmail.com> - 2020-12-14 19:30 -0500
          Re: “A damn stupid thing to do”—the origins of C Dan Espen <dan1espen@gmail.com> - 2020-12-14 21:06 -0500
  Re: “A damn stupid thing to do”—the origins of C maus <maus@dmaus.org> - 2020-12-14 19:08 +0000
  Re: “A damn stupid thing to do”—the origins of C Robin Vowels <robin.vowels@gmail.com> - 2021-02-10 07:42 -0800

csiph-web