Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
caf
on Sept 13, 2019
|
parent
|
context
|
favorite
| on:
Efficient string copying and concatenation in C
size_t is unsigned, so (dsize <= 0) is identical to (dsize == 0) ;)
dwheeler
on Sept 14, 2019
[–]
That is true, but I find the less than or equal to be logically clearer. YMMV.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: