in reply to Re: Best Multidimensional Hash Practices?
in thread Best Multidimensional Hash Practices?

The better solution is to use an object for the user and hide the nasty representation issues from client code that uses the object.

Using multiple data structures in parallel is always fraught because it is so easy to get them out of sync. Despite the complexity of the one data structure approach, it is generally better to use it and avoid the nastiness of either a slew of globals or ensuring that you always pass the whole suite of variables around correctly.


True laziness is hard work
  • Comment on Re^2: Best Multidimensional Hash Practices?