Hacker News new | past | comments | ask | show | jobs | submit login

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...




It would be a great help if you use the correct terms instead of just pointing out the wrong ones.


> 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.


What's the verb in this case then? "An expression ___ a value."


Evaluates to?


Ah, yes, that's the one. Thanks. :)


An expression yields a value.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: