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


Groups > comp.lang.c > #26256

Re: typedef, 2D arrays, design: question

From Edward Rutherford <edward.p.rutherford79@REMOVETHIS.gmail.com>
Newsgroups comp.lang.c
Subject Re: typedef, 2D arrays, design: question
Date 2012-09-12 20:45 +0000
Organization Aioe.org NNTP Server
Message-ID <k2qs98$fr8$1@speranza.aioe.org> (permalink)
References <56ff68e1-418b-4385-b8d4-df662f87c91a@googlegroups.com> <k1svub$shq$1@dont-email.me> <k1t74m$7ng$1@dont-email.me>

Show all headers | View raw


Eric Sosman wrote:
>      Many people (myself included) dislike `typedef Thing *Thingp;'
> and its brethren, since it tends to obscure the pointer-nature of a
> variable declared as `Thingp x;'.  I find the code more readable if
> pointer-ness is obvious: `Thing *x;' puts it right in my face.

I disagree with this.

In Python almost everything is implicitly a void* and it works pretty 
well.

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


Thread

typedef, 2D arrays, design: question gdotone@gmail.com - 2012-08-31 21:25 -0700
  Re: typedef, 2D arrays, design: question Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-09-01 12:27 +0100
  Re: typedef, 2D arrays, design: question "BartC" <bc@freeuk.com> - 2012-09-01 13:43 +0100
    Re: typedef, 2D arrays, design: question Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-01 10:46 -0400
      Re: typedef, 2D arrays, design: question Edward Rutherford <edward.p.rutherford79@REMOVETHIS.gmail.com> - 2012-09-12 20:45 +0000
        Re: typedef, 2D arrays, design: question Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-12 17:19 -0400
          Re: typedef, 2D arrays, design: question James Kuyper <jameskuyper@verizon.net> - 2012-09-12 18:02 -0400
            Re: typedef, 2D arrays, design: question Ian Collins <ian-news@hotmail.com> - 2012-09-13 10:08 +1200
              Re: typedef, 2D arrays, design: question James Kuyper <jameskuyper@verizon.net> - 2012-09-12 18:20 -0400
  Re: typedef, 2D arrays, design: question John Bode <jfbode1029@gmail.com> - 2012-09-13 15:10 -0700
    Re: typedef, 2D arrays, design: question gdotone@gmail.com - 2012-09-18 21:34 -0700
    Re: typedef, 2D arrays, design: question Seungbeom Kim <musiphil@bawi.org> - 2012-09-19 11:19 -0700

csiph-web