Re: why use -> (not .) with pointers?
- From: richard@xxxxxxxxxxxxxxx (Richard Tobin)
- Date: 30 Jun 2005 16:36:32 GMT
In article <42c41b0e$0$309$7a628cd7@xxxxxxxxxxxxxxxxxxxxx>,
Guillaume <"grsNOSPAM at NOTTHATmail dot com"> wrote:
>To me, it's still essential syntactically speaking.
>
>Letting the compiler "guess" what you mean is a really, really bad idea
>in general. Even when the case seems obvious to you.
So would you favour having different operators for integer and
floating-point addition? Is it a disaster that if foo is a function
pointer you can say foo(1) instead of (*foo)(1)?
Why is determining the action "guessing" in this case but not the
others?
-- Richard
.
- Follow-Ups:
- Re: why use -> (not .) with pointers?
- From: Anonymous 7843
- Re: why use -> (not .) with pointers?
- From: Alan Balmer
- Re: why use -> (not .) with pointers?
- From: Guillaume
- Re: why use -> (not .) with pointers?
- References:
- why use -> (not .) with pointers?
- From: Felix Kater
- Re: why use -> (not .) with pointers?
- From: lawrence . jones
- Re: why use -> (not .) with pointers?
- From: Guillaume
- why use -> (not .) with pointers?
- Prev by Date: Re: why use -> (not .) with pointers?
- Next by Date: Re: parameters or stdin
- Previous by thread: Re: why use -> (not .) with pointers?
- Next by thread: Re: why use -> (not .) with pointers?
- Index(es):
Relevant Pages
|