:: Re: [DNG] Learning C
Kezdőlap
Delete this message
Reply to this message
Szerző: Dan Purgert
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] Learning C
On Oct 05, 2024, Steve Litt wrote:
> nick said on Sat, 28 Sep 2024 22:30:06 +1000
>
>
> >I was interested to hear another commenter saying K&R was the worst
> >resource to learn from.
>
> That was me. K&R examples were cutesy tricky. Perhaps that was because
> optimizers were very bad back then, but it wasn't a good learning
> source because of the cutesy-tricky. In my opinion, a for statement
> should look like a for statement.


K&R2 (ANSI C) fixes a lot of that; although, yes, is more of "a
reference" than "a tutorial". Not a bad thing per se, but if you have
ZERO programming knowledge, you'll probably hit a wall a little quicker
than "expected(tm)".

--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860