2 ms·
I'd like you to articulate why you don't like the code fragment you provided. Does it have a bug (didn't see one on simple inspection)? Is it because the isNe
by dekhn 7y ago
I'd like you to articulate why you don't like the code fragment you provided. Does it have a bug (didn't see one on simple inspection)? Is it because the isNegative could be computed at runtime rather than using a boolean flag set when the balance at runtime?
- LandR 7y agoSee: https://news.ycombinator.com/item?id=20778491 https://news.ycombinator.com/item?id=20778491