Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Learn C The Hard Way. Parent comment
y=1+x=3;
Why and how this works is foreign to most beginners. Likewise (ok, this is C++ but the point remains)
cout<<1+x;
Isn't a command to display 1+x. The output is the result of inserting the computed value into couture. There is a semantic difference.
Groking operators early is key to understanding C well.
There are no comments on this comment yet.
y=1+x=3;
Why and how this works is foreign to most beginners. Likewise (ok, this is C++ but the point remains)
cout<<1+x;
Isn't a command to display 1+x. The output is the result of inserting the computed value into couture. There is a semantic difference.
Groking operators early is key to understanding C well.