[gameprogrammer] Re: A Note on C Programming Style
- From: Bob Pendleton <bob@xxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Fri, 06 May 2005 14:37:31 -0500
On Fri, 2005-05-06 at 10:54 +0100, Etali wrote:
> ----- Original Message -----
> From: "Alan Wolfe" <alan.wolfe@xxxxxxxxx>
> To: <gameprogrammer@xxxxxxxxxxxxx>
> Sent: Thursday, May 05, 2005 9:52 PM
> Subject: [gameprogrammer] Re: A Note on C Programming Style
>
>
> > Wes you are the only person that i have talked to that sees the value
> > of char *p instead of char* p.
> >
> > my hat is off to you (:
> >
>
>
> I've been programming 'self taught' for a number of years, and recently went
> to Uni to learn it all 'officially'
>
> I'm of the char *p school myself - my lecturer insists on char* p because a)
> that's keeping all the bits of the type declaration together, and b) that
> discourages multiple declarations on one line (he thinks that's messy).
>
> After so many years of doing it the other way, it is so confusing to have to
> do it his way.
>
> I don't see why pointers are confusing. I see why they're annoying when
> they go wrong, and a pain to debug, but not why the basic idea of what a
> pointer is and does is confusing.
>
> I'd be interested to hear what other people think and how they found it when
> they were first learning.
Pointer never bothered me. They just made sense. OTOH, I have known a
lot of people who will not use pointers because they really do not
understand what they do or how they work. I have had the experience of
trying to explain them to people who just didn't get the idea at all.
I don't know why it is, but some people get pointers and some do not.
Bob Pendleton
>
> --
> Etali
> http://www.myth-games.com
> http://www.myth-games.com/forum
>
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>
--
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob@xxxxxxxxxxxxx +
+ web: www.GameProgrammer.com +
+ www.Wise2Food.com +
+ nutrient info on 6,000+ common foods +
+--------------------------------------+
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: A Note on C Programming Style
- From: Wes Wannemacher
- References:
- [gameprogrammer] A Note on C Programming Style
- From: Chris Nystrom
- [gameprogrammer] Re: A Note on C Programming Style
- From: Wes Wannemacher
- [gameprogrammer] Re: A Note on C Programming Style
- From: Alan Wolfe
- [gameprogrammer] Re: A Note on C Programming Style
- From: Etali
Other related posts:
- » [gameprogrammer] A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- » [gameprogrammer] Re: A Note on C Programming Style
- [gameprogrammer] Re: A Note on C Programming Style
- From: Wes Wannemacher
- [gameprogrammer] A Note on C Programming Style
- From: Chris Nystrom
- [gameprogrammer] Re: A Note on C Programming Style
- From: Wes Wannemacher
- [gameprogrammer] Re: A Note on C Programming Style
- From: Alan Wolfe
- [gameprogrammer] Re: A Note on C Programming Style
- From: Etali