Minimal skills

Polytropon freebsd at edvax.de
Fri Jun 5 00:57:03 UTC 2020


On Thu, 4 Jun 2020 20:39:24 -0400, Robert Huff wrote:
> 
> David Christensen writes:
> 
> >  >> The canonical C book is:
> >  
> >  >> https://www.pearson.com/us/higher-education/program/Kernighan-C-Programming-Language-2nd-Edition/PGM54487.html
> >  
> >  On 2020-06-04 14:02, Brandon helsley wrote:
> >  
> >  > The link you sent me for the c programming language is from 1988. 
> >  > Wouldn't it be better to use a newer study book? 
> >  > Should I look for something newer?
> >  
> >  AFAIK C has not changed (?)
> 
> 	This is not the case; the latest revision of which I am aware is
> the 2018 Standard (which is the 2011 Standard with bug fixes).
> 
> >   and K&R 2e is still the standard text:
> 
> 	There's a reason this is still _the_ "Start here." book.

It's also worth noting that C from different eras is present in
the FreeBSD code base. While "man 9 style" is mostly followed,
the capabilities of the evolving C standard can be different,
and compiler options might force a specific standard, so assuming
that "I pick the latest and it will always work everywhere with
any compiler" is false. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list