E
Eric Sosman
Mark said:Why master, "foo31" of course, which is assigned as the value of the
string thingy 'foo'....
Which part of "obviously you can't do this in Standard C" was hard to
understand, Master? And also irrelevant since my example didn't
depend on a char*.
Newsflash: who said anything about arrays?
Ah, Grasshopper, you are so quick to take offense. Learn
patience like your cousin the locust, and you, too, may move
to the Wild West and demonstrate inner peace by kicking people's
heads off.
The message that launched all this, um, meditation was
> Bear in mind that several languages define string addition and most
> provide default conversion operators. It'd be fairly trivial to
> implement such an "addition" operator.
.... in which there is no mention of "Standard C." As a card-
carrying August Master, I naturally made certain allowances for
your preoccupation with matters temporal, and divined that you
believed that adding "string addition" to C would be a "fairly
trivial" extension to the language that the Transcendent Dennis
bestowed upon us. My response was in the nature of a Zen koan --
or maybe a Cen Coan -- intended to bring about that state called
"satori" in which you would suddenly and mystically come to know
that the data type "string" is more wrenching to C than grasshoppers
might suppose.
Of course, it might also bring about the state called "abhorri"
in which you suddenly and mystically bless your Revered Teacher
with the pleasant effluent of an AK-47. In that case, your R.T.
will demonstrate his unparalleled control over and indifference to
matters physical by swatting away the bullets like so many pesky
(but holy and precious in their own way) mosquitoes -- yet on the
whole, the R.T. would prefer not to put the matter to the test.