Re: How to write better code for your projects ?

From: Jeffrey Dutky (dutky_at_bellatlantic.net)
Date: 02/23/04


Date: 23 Feb 2004 14:50:25 -0800


"Rodo" <dsp1024@yahoo.com> wrote in message
> I just feel I need more info on writing code for embedded systems (that's a
> good magazine: Embedded Systems Programming ). Before I start cranking out
> code, I'd like to get more info on ways of writing code. Can you suggest a
> book or reference where to start ?

A few books (relatively short ones) that you should peruse:

  "The Practice of Programming"
  -- Kernighan & Pike, Addison Wesley

  "The Mythical Man-Month"
  -- Fred Brooks, Addison Wesley

  "The Elements of Programming Style"
  -- Kernighan & Plauger, McGraw-Hill

  "Enough Rope to Shoot Yourself in the Foot"
  -- Allen Holub, McGraw-Hill

That should give you good coverage of both low-level coding (how to
write good code) issues and high-level engineering issues (how to
manage people, including yourself, writing code). Altogether, the four
books are about 900 pages of material, but you should be able to
cherry pick (or even just skim) the highlights to good effect.

I've got my own set of rules for good coding, but not knowing your
specific strengths and weaknesses, I don't presume that my list would
be much help. Besides, most everything that I have learned is
mentioned in those books.

-- Jeff Dutky



Relevant Pages

  • Re: How to write better code for your projects ?
    ... > good magazine: Embedded Systems Programming). ... I'd like to get more info on ways of writing code. ... I'd recommend reading a few books on software engineering, ...
    (comp.arch.embedded)
  • Re: VB programming guides or books
    ... I went to the web site below and took a look at all of the books that they ... 3- Visual Basic Developers Handbook ... experience writing code so I guess I would need something that would start me ... some sort of basic level training. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Where do i go to start learning C# for web developement and services?
    ... start reading posts, you should be up and running in writing code in very ... on my own by purchasing Dummies books and microsoft official books? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VB programming guides or books
    ... Doug Steele, Microsoft Access MVP ... (no e-mails, please!) ... learn more about writing code. ... There are so many books on the market and I don't want to keep buy books ...
    (microsoft.public.access.modulesdaovba)
  • Re: Getting Started
    ... I think you learn a lot from figuring out how other ... Though books are valuable too, ... that writing code is the key. ... James Edward Gray II ...
    (comp.lang.ruby)