News for hackers. Stuff that matters.
Re:Ask HN: Should I use K&R to learn C? by fierycatnet on Tuesday April 07, 2015 @09:15AM (#9333739)
Interesting, last time I asked on various C boards about learning resources, Zed's book got ripped apart.

http://www.iso-9899.info/wiki/Books

Re:Ask HN: Should I use K&R to learn C? by zedshaw on Tuesday April 07, 2015 @10:34AM (#9334309)
The man who moved my book into the "avoided" category admitted to me in an email that he did it just because of my K&R critique, not because of the book's quality, is not a C programmer, hasn't coded C professionally ever, and works doing PHP with almost no C experience.
Re:Ask HN: Should I use K&R to learn C? by EpicEng on Tuesday April 07, 2015 @01:55PM (#9335795)
It is shocking to me that someone who doesn't even use C is handing out critiques of any book focused on C.
Re:Ask HN: Should I use K&R to learn C? by fierycatnet on Tuesday April 07, 2015 @06:29PM (#9337610)
Yeah I am not picking sides here but they really sold me against your book on freenode. As a newbie I didn't know any better. Come to think of it, I was doing just fine following your book, until I went on #C at freenode.
Re:Ask HN: Should I use K&R to learn C? by FraaJad on Tuesday April 07, 2015 @09:18AM (#9333757)
The critique of ZedShaw's book appears to be

> Too many factual problems and a presentation that gets you to do things wrongly before being shown how to do it correctly, and not even always then.

Eh?? Isn't that the whole point of "Learn __ the Hard Way"? ie., by making mistakes and learning from them?

Re:Ask HN: Should I use K&R to learn C? by loumf on Tuesday April 07, 2015 @09:24AM (#9333809)
Also, K&R does many things the wrong way for expediency. It's fine if you know that already, but newbies do not know that.

The main critique of Zed seems to be that he didn't say it was impossible to protect a C function from the caller. So what? There is a big difference between his suggested style and the style you'd get from an uncritical reading of K&R, even though neither is 100% safe from the caller.