Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, the optional sign on char is also madness. C had a chance in 1989 to make it unsigned, and muffed it. (When C86 decided between value-preserving and sign-preserving semantics, they could have also said char was unsigned, and saved generations of programmers from grief.)

D's `char` type is unsigned. Done. No more problems.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: