D
Default User
E. Robert Tisdale said:Did you check your killfile?
Trust me Trollsdale, if you aren't in it, Plauger certainly isn't.
Brian Rodenborn
E. Robert Tisdale said:Did you check your killfile?
Mike said:I don't see them either. Perhaps a major trunk is down,
and only servers in a paritcular physical region are getting
them? I'm no networking expert, just a thought.
What important error to you mask when you cast a pointer known to
be a void * to one that can only be assigned to a pointer of the
expected type?
Sorry, but the reason is to excellent for me to grasp. Me and my
pet camel find this to be quite sensible code.
Where does that leave comments?
But it does reassure the reader that you know what kind of storage
you're trying to allocate.
And it causes a compile-time diagnostic
if you later change the type of the pointer you're assigning to,
without changing the sizeof to match.
P.J. Plauger said:I post using Reply Group in Outlook Express, through news.alterdial.uu.net.
Trust me Trollsdale, if you aren't in it, Plauger certainly isn't.
Richard Heathfield said:[PJP's article didn't show up on my server yet, hence the (partial)
piggy-backing.]
Richard said:What a nonsensical reaction! No, we should avoid writing C which is iffy
for no better reason than that it's also legal (but iffy) C++.
I agree with all but the first four words. I think we should respect the
fact that P J Plauger is an expert on the C language, even if we happen to
disagree with him on this issue.
Not having the original in front of me, I can't tell what you mean for
certain, but if the original layout was: int* p = malloc..., I don't think
it's a big deal, especially if declarations are kept one to a line (which
is my own preference).
Clearly, Mr Plauger's mileage varies, and I'm not
about to suggest that he changes his business's development strategy on the
basis of a newsgroup discussion! Nevertheless, I can't see myself advising
anyone to adopt that strategy any time soon.
In said:Richard said:[PJP's article didn't show up on my server yet, hence the (partial)
piggy-backing.]
I haven't seen ANY of his messages, but lots of replies to them. Not
sure what's up with that.
In said:I think this is the crux: Mr. Plauger supplies a market that most of us
have nothing to do with, and which probably has its own demands. Most of
us write programs for ourselves or for customers, with no need for it to
be compilable on both C and C++ compilers,
Richard said:Which would explain why I _am_ seeing them, since I'm on
news.nl.net, which is run by the Dutch branch of UUNet.
Richard said:I certainly respect him as well, which is why I'm surprised and dismayed
that he'd take your objection to such ludicrous extremes. I hadn't
expected this from him; he doesn't need straw men.
Neither have I, for quite a while: only replies to his posts.
Dan
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.