|
|
|
|
|
by JdeBP
3 days ago
|
|
"You could write it completely differently." is just a more general case of "You could write it in Rust instead.". And it's missing the point. The point being made is that the stumbling blocks exist to be tripped over by the unsuspecting, and are not because of C. |
|
(Also, this is at least in part inherited from C. Dangling pointers themselves are due to C. And temporary expressions are just acting consistently with C semantics here.)