Re: Applications that use thousands of data containers?



sjdevnull@xxxxxxxxx wrote:
JohnQ wrote:
What are some applications and domains that use many containers (lists,
maps, arrays, whatever) in one program?

All kinds of programs can use many containers.

Many dynamic languages have at least one container per object (a
dictionary/hash, to look up what attributes the object has).

Perl is a good example of this. There are no instance variables in
Perl, so if you want to program in an OO style, you typically use a
container to hold an object's fields. In fact, most Perl programmers
use hashes to represent most of their objects. So having thousands
of containers is quite common.

- Logan
.