>       So from an API point of view, it might be more flexible
>       and forward thinking to use custom enum datatypes instead
>       of bools, so that new states besides on/off can be 
> added if needed.


This is a fair point actually! Just this past month, I've had to rework
code that was bool initially that turned out during integration to need
tri-state (or more!) conditions.

But that may not be a general case though...
-- 
Ian



SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to