Re: Basic inheritance question
- From: Bjoern Schliessmann <usenet-mail-0306.20.chr0n0ss@xxxxxxxxxxxxxxx>
- Date: Sat, 05 Jan 2008 11:53:07 +0100
MartinRinehart@xxxxxxxxx wrote:
Jeroen Ruigrok van der Werven wrote:
self.startLoc = start
self.stopLoc = stop
Thanks! Of course it should. Old Java habits die slowly.
That's not really a Java habit. In Java and C++, personally I like
to write
this.startLoc = start
this.stopLoc = stop
It makes much clearer what a field and what a "normal" variable is
in those languages.
Regards,
Björn
--
BOFH excuse #294:
PCMCIA slave driver
.
- Follow-Ups:
- Re: Basic inheritance question
- From: Dan Bishop
- Re: Basic inheritance question
- References:
- Basic inheritance question
- From: MartinRinehart
- Re: Basic inheritance question
- From: Jeroen Ruigrok van der Werven
- Re: Basic inheritance question
- From: MartinRinehart
- Basic inheritance question
- Prev by Date: Re: Memory Leaks and Heapy
- Next by Date: Re: Fortran to Python
- Previous by thread: Re: Basic inheritance question
- Next by thread: Re: Basic inheritance question
- Index(es):
Relevant Pages
|