[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] timer.h
From: |
E. Weddington |
Subject: |
Re: [avr-libc-dev] timer.h |
Date: |
Mon, 30 Sep 2002 11:14:33 -0600 |
On 30 Sep 2002 at 10:03, Theodore A. Roth wrote:
>
>
> On Mon, 30 Sep 2002, E. Weddington wrote:
>
> :) > IMHO, it's hard to even make it `complete', since the notion of
> :) > completeness might vary much between different environments.
> Also, :) > newer ATmegas use different names for the bit descriptions.
> :) > :) That's what conditional compilation is for. ;-)
>
> Be careful there. Conditional compilation can be dangerous. For
> instance, how to you guarantee that you've tested all the various
> permutations of the conditions? Then there's the fact that it can make
> the code incredibly difficult to read (look at all the confusion
> lately with the _SFR_* macros). Kernighan and Pike's "The Practice of
> Programming" has a good discussion on this (among many excellent
> discussions).
>
Rendered moot by your excellent suggestion to have it as examples :-)
I *thought* it was deja vu:
http://mail.freesoftware.fsf.org/pipermail/avr-libc-dev/2002-
August/000112.html
So in the same vein, twi.h should be canned too.
Eric
- Re: [avr-libc-dev] [RFC] Boot Loader Support, (continued)
- Re: [avr-libc-dev] [RFC] Boot Loader Support, ken restivo, 2002/09/09
- [avr-libc-dev] timer.h, Chris Baugher, 2002/09/15
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/16
- Re: [avr-libc-dev] timer.h, Joerg Wunsch, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Joerg Wunsch, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] timer.h,
E. Weddington <=
- Re: [avr-libc-dev] timer.h, Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] release (was timer.h), E. Weddington, 2002/09/30
- Re: [avr-libc-dev] release (was timer.h), Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] timer.h, Theodore A. Roth, 2002/09/30
- Re: [avr-libc-dev] timer.h, E. Weddington, 2002/09/30
- Re: [avr-libc-dev] timer.h, Chris Baugher, 2002/09/30