Petar wrote:
> What is the better way of doing this? And should a class always
> reference only on 'item'?

It fully depends on what you want to do in your program. If you just
want to have a list of employees, a list or dict will suffice. If
you need a full-fledged employee database, an "Employees" class may
be a good API.

Regards,


Björn

-- 
BOFH excuse #83:

Support staff hung over, send aspirin and come back LATER.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to