[rescue] Cooling (Long Message, sorry)

Sridhar the POWERful vance at ikickass.org
Thu Apr 18 21:49:37 CDT 2002


On Thu, 18 Apr 2002, Francisco Javier Mesa-Martinez 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...

Java doesn't have pointers.  Only references.  C has both.

Peace...  Sridhar



More information about the rescue mailing list