<br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 3:40 AM, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div id=":1d8">No worries there :-) I feel pretty dang strongly about this issue, from bad experience.<br>
<br>
Even if a language behaves "wrong", it is still usable if it is predictable.</div></blockquote></div><br><div>Agreed.</div><div><br></div><div>How about this.</div><div><br></div><div>1. Let "char" and "short" behave the C/C++ way. These can return integers. This will make C/C++ code work in D.</div>

<div>2. Make D "byte" operations return bytes. And create another type (named say dbyte or shortint) and make operations on the new type return shortints. This will make these types more usable in D code. Well we end up adding another keyword, but we shall get workable and safe 8-bit and 16-bit integrals.</div>

<div><br></div><div>Regards</div><div>- Puneet</div>