Comment

Comment by alblue

The terminal operation on the clever code compares the size_t to -1. But if it's unsigned this will never be true either, and so the test may be optimised away.

This probably demonstrates the point where clever code is more likely to have bugs ...

parent alblue 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton