[ale] [semi-OT] Recommended C programming book?

Christopher Fowler cfowler at outpostsentinel.com
Fri Aug 8 07:55:08 EDT 2003


I'm not sure what to tell you about a book that teaches modular
programming.  Normally that is reserved for OOP programmers in 
C++.  It is easy to implement OOP ideas in C.  I do it all the time.

On thing I can tell you is to do much work in the back-end so the front-end
can be created with ease.  For example look at Perl.  A few programmers
worker their as* off in the back-end so that script kiddies could do a lot
with so little code.  In our projects we have a good bit of code in 
our libraries.  It allows us to grab important bits of information when
we need it in few lines of code in the app.  I've created a whole API that
can easily be adapted for any embedded project.  If you find yourself
reusing code then it might be a good idea to move that piece to a
library function.  You can use wrappers to add layers of abstraction to
your library.  GNU Libc uses wrappers to group similar functions.  I use
them to simplify parts of code.

Chris

On Thu, Aug 07, 2003 at 01:51:35AM -0500, Kevin Krumwiede wrote:
> The specific feature I'm looking for in a C programming book is that it should explain "modular" programming and how medium to large projects fit together.  All the ones I've seen just talk about syntax and common library functions.
> 
> Thanks,
> Krum
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list