pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3


From: David Philippi
Subject: Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3
Date: Sat, 12 Oct 2002 19:47:53 +0200
User-agent: KMail/1.4.1

On Saturday 12 October 2002 19:14, Ingo Ruhnke wrote:
> A variable should have a single well defined purpose, not change its
> purpose suddenly half the way down. Variables are not an expensive
> resoure which needs to get recycled, so we shouldn't do that.

Well that's usually true but I'm not too strict in this regard. At this point 
it's only a caching variable and I don't have any problems with reusing 
them. But declaring a pointer isn't costly enough that I'd really care about 
it.

Bye David





reply via email to

[Prev in Thread] Current Thread [Next in Thread]