Y
Hacker News
new
|
ask
|
show
|
jobs
by
xdavidliu
1395 days ago
if we used i >= 0 and someone were to come in and change "int i" to "unsigned i" or "size_t i", the result would be catastrophic
1 comments
Leherenn
1395 days ago
The same argument can be applied to GP's code with the added bonus it will cause UB at some point.
link