[rescue] Cooling (Long Message, sorry)
Francisco Javier Mesa-Martinez
lefa at cats.ucsc.edu
Thu Apr 18 19:54:20 CDT 2002
On Thu, 18 Apr 2002, David Passmore wrote:
> On Thu, Apr 18, 2002 at 07:57:36PM -0400, Joshua D Boyd wrote:
> > On Thu, Apr 18, 2002 at 03:09:17PM -0700, David Passmore wrote:
> > > I don't use arrays at all. Well, I should say that I don't use array
> > > 'types', except in the context of strings being an array of null-terminated
> > > characters, which is the only time I will use variable[subscript] notation.
> > > Otherwise, it is a glob of memory with a pointer of a certain type, and I
> > > will reference a position in that memory via pointer + num. Really the same
> > > thing, but a style difference.
> >
> > Ack. Pointer arithmatic seems to be generally considered bad, except for
> > when you are doing assembly programming.
>
> Ah, I remember the days before Java, when pointers were good... well, screw
> 'em. :)
Java does have pointers, I think it doesn't let you do some kinds of
pointer arithmetic though...
More information about the rescue
mailing list