Hacker News new | ask | show | jobs
by IshKebab 47 days ago
It seems like they've identified common bugs patterns in C that would have been ameliorated by using signed, but come to the wrong conclusion that signed is the correct answer rather than that C is poorly designed for making the broken code the easy option.

Fix the language. Don't hack around it by using the wrong type.

1 comments

This is already fixed in c via bitint types and disabling implicit integer sign casting.