in reply to In search of elegant code - looking deeply into a hash
Certainly depending on what you want to do, you should also consider using a database, at least SQLite that does not require a running database server, in favour of implementing a little quick-and-dirty database engine like this. It is much more scalable. This at least would deserve the attribute "elegant" in my eyes, given your example code that suggests expansion to other data associated with those people.
|
|---|