Re:The Sad State of C Strings
by int0x80 on Wednesday February 10, 2016 @04:28AM
(#11071595)
IMO it is usefull to have the "return result paradigm".
You can do things like: bar(foo(x, y)) and chain function results.
Notice how this applies to strcpy:
Another example (dma address space != buf a.s):
IOW, foo(strcpy(dst, src)) is VERY different than strcpy(dst, src); foo(src);
[ Parent
| on HN ]
There are no comments on this comment yet.