On Wed, Sep 13, 2006 at 04:30:08PM +0200, Abdelrazak Younes wrote:
> >Performance is not the most important thing in this case IMO. The most
> >important thing is code that is easy to understand.
> 
> In this case, I think the format should be an enum instead.
> 
> enum FileFormat {
> jpg,
> lyx,
> etc
> };

enums are not dynamically extensible. strings sort-of are.

Andre'

Reply via email to