[Top][All Lists]
[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: |
Ingo Ruhnke |
Subject: |
Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3 |
Date: |
12 Oct 2002 19:14:14 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
David Philippi <address@hidden> writes:
>> Same here, 'recycling' a variable, which had a completly different
>> meaning a few lines before will not do any good, give one of them a
>> different name.
>
> What's the problem with recycling a variable? As long as it's not used with
> the former data in any case later on I can't see any problems with this.
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.
--
WWW: http://pingus.seul.org/~grumbel/
Games: http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden
ICQ: 59461927
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, Ingo Ruhnke, 2002/10/12
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, David Philippi, 2002/10/12
- General Windows Cleanups, Neil Hotmail, 2002/10/12
- Re: General Windows Cleanups, David Philippi, 2002/10/12
- Re: General Windows Cleanups, Neil Hotmail, 2002/10/12
- Re: General Windows Cleanups, David Philippi, 2002/10/12
- Re: General Windows Cleanups, Neil Hotmail, 2002/10/12
- Re: General Windows Cleanups, David Philippi, 2002/10/12
Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3,
Ingo Ruhnke <=
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, David Philippi, 2002/10/12
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, Neil Hotmail, 2002/10/12
- Re: [Pingus-CVS] CVS: Games/Pingus/src/worldobjs liquid.cxx,1.2,1.3, David Philippi, 2002/10/12