[NTLUG:Discuss] Java/Linux versus school teacher.

Patrick R. Michaud pmichaud at pobox.com
Mon Mar 19 12:31:45 CDT 2007


On Mon, Mar 19, 2007 at 12:30:05PM -0500, Rusty Haddock wrote:
> Patrick R. Michaud wrote:
>     >It might also be worth noting that many C compilers also
>     >re-use string constants in a similar manner:
> 
> By definition the old K&R C didn't re-use string constants.  Who uses such
> an old style of C compile?  Trust me, those compilers are still in use!!!

Note that I said "many C compilers" and not "all C compilers".  :-) :-)

By no means was I claiming that anyone should rely on this particular
behavior -- I was just pointing out that it can occur in C and C++
as well as Java.

Pm



More information about the Discuss mailing list