3 ms·
Everytime I read the chapter in K&R, I first get a headache, then I think I understand it, then I think I dont understand it, but it is something very easy (jus
by andi999 4y ago
Everytime I read the chapter in K&R, I first get a headache, then I think I understand it, then I think I dont understand it, but it is something very easy (just follow the circle rule). Then next year the cycle repeats.
- MauranKilom 4y agoExcept the circle rule doesn't really help unless you know when to skip stuff because you're not done on the other side. The right-left rule instead is precise and correct. See https://news.ycombinator.com/item?id=5080081 https://news.ycombinator.com/item?id=5080081 and https://web.archive.org/web/20190714064656/http://cseweb.ucsd.edu/~ricko/rt_lt.rule.html https://web.archive.org/web/20190714064656/http://cseweb.ucs...
- spicybright 4y agoI'm actually surprised I had to read this far down the comments to see a reference to the right-left rule. Is that not common knowledge anymore for C programmers?