On Thursday 14 July 2005 14:49, William wrote:
>
> > Take a very basic one : chars and ints, they are essentially the same
> > type, and being able to perform arithmetic operations on chars or to
> > compare them to ints is a huge help.
>
> That is confused; char and int are two different types in the C / C++
> language specs.

Yes, but in practice they are very close to one another. The point is, 
strongly enforcing the distinction between two types which are, in essence, 
very close (like a char and a int, or an int and an unsigned int) isn't 
always good. The only thing Stephen's UInt property brings is a somewhat 
stronger type checking at compile-time. My point is that it's just not worth 
it.

-- 
Guillaume.
http://www.telegraph-road.org


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to