On 11 February 2012 10:37, D. Michael McIntyre <[email protected]> wrote: > On Saturday, February 11, 2012, Richard Bown wrote: > >> > Well that was a nice little read, straight from the voice of experience. >> >> I was going to say "that bit of smugness is going to come back and bite him >> in the ass" but of course I didn't.. > > I rather saw it as Chris finally growing a spine. He never asserts anything > with any real authority
Well! Thanks fellas... Though I'm inclined to agree with Richard on this one -- reading it over again, I think "smug arsehole" as well. On the technical side, the real problem (I think?) is that unsigned and signed are not sufficiently distinct types -- so if you mix them in arithmetic, the signed will be silently promoted to unsigned even if it happens to be negative. This also means you can run into problems from unsigneds even if you don't intentionally use them, since library functions like std::vector::size return unsigned. If the two were completely non-interchangeable except with an explicit cast, they wouldn't cause anything like as many bugs... though they'd probably annoy even more programmers. Chris ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
