Re: Using pointers in Java

From: Stewart Gordon (smjg_1998_at_yahoo.com)
Date: 02/06/04


Date: Fri, 06 Feb 2004 14:58:15 +0000

While it was 31/1/04 11:13 pm throughout the UK, Raymond DeCampo
sprinkled little black dots on a white screen, and they fell thus:

> Sanjay,
>
> Although this would be frowned upon by purists, you could make your
> wrappers have public instance variables allowing you to reference them
> directly without getters/setters:

You'd need to be an extreme purist to eschew structs.

That's before you get to those who say getter/setter methods just
unnecessarily bloat the code. Some (just ask Walter Bright) believe
that properties might as well just look like field names, even if they
don't map directly to real fields and/or involve side effects.

Stewart.

-- 
My e-mail is valid but not my primary mailbox, aside from its being the 
unfortunate victim of intensive mail-bombing at the moment.  Please keep 
replies on the 'group where everyone may benefit.