3 ms·
I've been writing C since the 1980s. Sorry, this book is not just bad but astonishingly bad. Your examples are just wrong. "Returning" has a very specific mean
by TomSwirly 6y ago
I've been writing C since the 1980s. Sorry, this book is not just bad but astonishingly bad.
Your examples are just wrong. "Returning" has a very specific meaning in programming. An expression does not "return a value". A pointer very very much does not "return the address of a memory location".
The code example given was utterly awful. If you cannot see why that code example is almost guaranteed to cause problems, you might not want to continue in this discussion...
- kaetemi 6y agoWhat's the verb in this case then? "An expression ___ a value."
- croes 6y agoIt would be a great help if you use the correct terms instead of just pointing out the wrong ones.
- Droobfest 6y ago> If you cannot see why that code example is almost guaranteed to cause problems, you might not want to continue in this discussion... Why not? Wouldn't it be especially important to educate these people? Overly ignorant people sure can be annoying, but at least give people some information on the right concepts instead of only derision.