Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] C programming on AVR

2008-03-22 by David Kelly

On Mar 22, 2008, at 2:39 PM, Mike Harrison wrote:

>> I don't think that an embedded platform is the right choice for  
>> learning
>> C. Learn C on a PC (Linux, windows, Mac, whatever) and then apply  
>> those
>> skills to develop embedded apps
>
> NO NO NO!!!
>
> If you want to write for embedded, learn on that, preferably via  
> assembler first so you understand the hardware. PC programming  
> allows far too many bad habits to develop.


Not only "allows" but "encourages." Printf() and malloc() come to mind  
as bad habits that have to be broke to write good 8-bit embedded code.

--
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.