Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: Why C has Pointers.

Reply
Thread Tools

Re: Why C has Pointers.

 
 
Nick Keighley
Guest
Posts: n/a
 
      12-08-2011
On Dec 8, 7:32*am, Borax Man <rotfl...@hotmail.com> wrote:
> curixinfotech wrote:
> > parshant


> I can't believe how many people responded to this spam.


in what sense is it spam? Is it widely posted? Is it off-topic? Is it
cross posted? Has it been repeatedly posted? Does it originate from a
bank employee in Bukino Fasu?
 
Reply With Quote
 
 
 
 
André Gillibert
Guest
Posts: n/a
 
      12-08-2011
Nick Keighley <> wrote:
> On Dec 8, 7:32Â*am, Borax Man <rotfl...@hotmail.com> wrote:
> > curixinfotech wrote:
> > > parshant

>
> > I can't believe how many people responded to this spam.

>
> in what sense is it spam? Is it widely posted? Is it off-topic? Is it
> cross posted? Has it been repeatedly posted? Does it originate from a
> bank employee in Bukino Fasu?


It's troll, not spam.

--
André Gillibert
 
Reply With Quote
 
 
 
 
Nick Keighley
Guest
Posts: n/a
 
      12-09-2011
On Dec 8, 12:44*pm, André Gillibert <MetaEntropy.removeT...@gmail.com>
wrote:
> Nick Keighley <nick_keighley_nos...@hotmail.com> wrote:
> > On Dec 8, 7:32*am, Borax Man <rotfl...@hotmail.com> wrote:
> > > curixinfotech wrote:
> > > > parshant

>
> > > I can't believe how many people responded to this spam.

>
> > in what sense is it spam? Is it widely posted? Is it off-topic? Is it
> > cross posted? Has it been repeatedly posted? Does it originate from a
> > bank employee in Bukino Fasu?

>
> It's troll, not spam.


I'm not sure even that's true. he may genuinely wondering what
pointers are for. It smells like homework though.
 
Reply With Quote
 
Kenny McCormack
Guest
Posts: n/a
 
      12-09-2011
In article <68e27f18-0ad9-4309-b9e4->,
Nick Keighley <> wrote:
>On Dec 8, 12:44*pm, André Gillibert <MetaEntropy.removeT...@gmail.com>
>wrote:
>> Nick Keighley <nick_keighley_nos...@hotmail.com> wrote:
>> > On Dec 8, 7:32*am, Borax Man <rotfl...@hotmail.com> wrote:
>> > > curixinfotech wrote:
>> > > > parshant

>>
>> > > I can't believe how many people responded to this spam.

>>
>> > in what sense is it spam? Is it widely posted? Is it off-topic? Is it
>> > cross posted? Has it been repeatedly posted? Does it originate from a
>> > bank employee in Bukino Fasu?

>>
>> It's troll, not spam.

>
>I'm not sure even that's true. he may genuinely wondering what
>pointers are for. It smells like homework though.


I go with troll (and "good on him!").

The real truth to keep in mind here is that the obvious answer to the
question is: Because the inventors (and subsequent maintainers) of the
language put them in. I.e., the question is equivalent to "Why is the
background of the 'Mona Lisa' the color that it is?" It is that color
because the artist made it that way. That's really all there is to it.

The problem is that the question gets people's dander up - it incites them
to interpret the question as a criticism of the language. Now, maybe that
is really what the questioner has in mind, but the fact remains that "we"
shouldn't take the bait. We should just answer as above.

--
Just for a change of pace, this sig is *not* an obscure reference to
comp.lang.c...

 
Reply With Quote
 
Malcolm McLean
Guest
Posts: n/a
 
      12-10-2011
On Dec 9, 4:59*pm, gaze...@shell.xmission.com (Kenny McCormack) wrote:
>
> The problem is that the question gets people's dander up - it incites them
> to interpret the question as a criticism of the language. *Now, maybe that
> is really what the questioner has in mind, but the fact remains that "we"
> shouldn't take the bait. *We should just answer as above.
>

In the early days of C, you sometimes heard of programmers being told,
"You can program in C as long as you don't use pointers". That's
impractical, of course.

But pointers can cause terrible problems. Most languages hide them
from the programmer. C doesn't, and it's entirely legitimate to
discuss that design decision.
--
Basic Algorithms: how do JPEG files work?
http://www.malcommclean.site11.com/www


 
Reply With Quote
 
Nick Keighley
Guest
Posts: n/a
 
      12-10-2011
On Dec 9, 2:59*pm, gaze...@shell.xmission.com (Kenny McCormack) wrote:
> In article <68e27f18-0ad9-4309-b9e4-8386f4904...@p16g2000yqd.googlegroups..com>,
> Nick Keighley *<nick_keighley_nos...@hotmail.com> wrote:
> >On Dec 8, 12:44*pm, André Gillibert <MetaEntropy.removeT...@gmail.com>
> >wrote:
> >> Nick Keighley <nick_keighley_nos...@hotmail.com> wrote:
> >> > On Dec 8, 7:32*am, Borax Man <rotfl...@hotmail.com> wrote:
> >> > > curixinfotech wrote:
> >> > > > parshant



> >> > > I can't believe how many people responded to this spam.

>
> >> > in what sense is it spam? Is it widely posted? Is it off-topic? Is it
> >> > cross posted? Has it been repeatedly posted? Does it originate from a
> >> > bank employee in Bukino Fasu?

>
> >> It's troll, not spam.

>
> >I'm not sure even that's true. he may genuinely wondering what
> >pointers are for. It smells like homework though.

>
> I go with troll (and "good on him!").
>
> The real truth to keep in mind here is that the obvious answer to the
> question is: Because the inventors (and subsequent maintainers) of the
> language put them in.


not sure that's completly, or usefully, true. A programming languages
is designed (or intended to be) to be useful in expressing solutions
to certain classes of problem. I suspect Richie put some thought into
his pointers. He based them on BCPL but with subtle twists in both
syntax and semantics. In short I don't think C pointer are an
accident.

> I.e., the question is equivalent to "Why is the
> background of the 'Mona Lisa' the color that it is?" *It is that color
> because the artist made it that way. *That's really all there is to it.


again I suspect there were contraits on the colours Leonardo
considered. Magnolia or rainbow stripes were probably unlikely.

> The problem is that the question gets people's dander up - it incites them
> to interpret the question as a criticism of the language. *Now, maybe that
> is really what the questioner has in mind, but the fact remains that "we"
> shouldn't take the bait. *We should just answer as above.


I'm not the one saying the OP's a troll
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
Cisco 2611 and Cisco 1721 : Why , why , why ????? sam@nospam.org Cisco 10 05-01-2005 08:49 AM
Why, why, why??? =?Utf-8?B?VGltOjouLg==?= ASP .Net 6 01-27-2005 03:35 PM
Why Why Why You HAVE NO IDEA MCSE 31 04-24-2004 06:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57