G
Gerrit Holl
Hi,
the FAQ says:
I find it strange to use tuples for a coordinate. After all, a
coordinate represents a position of an object. Suppose I have a game
where the player has a position: isn't it stupid to use tuples rather
than lists or another type (maybe complex numbers?), because I want to
be able to change the position?
Shouldn't coordinates be mutable?
yours,
Gerrit.
the FAQ says:
For example, a Cartesian coordinate is appropriately represented as a
tuple of two or three numbers.
I find it strange to use tuples for a coordinate. After all, a
coordinate represents a position of an object. Suppose I have a game
where the player has a position: isn't it stupid to use tuples rather
than lists or another type (maybe complex numbers?), because I want to
be able to change the position?
Shouldn't coordinates be mutable?
yours,
Gerrit.