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


Groups > comp.lang.c > #26261

Re: typedef, 2D arrays, design: question

From Eric Sosman <esosman@ieee-dot-org.invalid>
Newsgroups comp.lang.c
Subject Re: typedef, 2D arrays, design: question
Date 2012-09-12 17:19 -0400
Organization A noiseless patient Spider
Message-ID <k2qu8b$2lf$1@dont-email.me> (permalink)
References <56ff68e1-418b-4385-b8d4-df662f87c91a@googlegroups.com> <k1svub$shq$1@dont-email.me> <k1t74m$7ng$1@dont-email.me> <k2qs98$fr8$1@speranza.aioe.org>

Show all headers | View raw


On 9/12/2012 4:45 PM, Edward Rutherford wrote:
> 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.

     You disagree that "many people (myself included)" dislike
something?  Okay, go ahead: Convince me that I do in fact like it.

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

     But it works very badly in COBOL, so there!

-- 
Eric Sosman
esosman@ieee-dot-org.invalid
"The speed at which the system fails is usually not important."

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