[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Re: sprintf

From: Weddington, Eric
Subject: RE: [avr-gcc-list] Re: sprintf
Date: Sat, 28 Feb 2009 12:57:01 -0700


> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of David Brown
> Sent: Saturday, February 28, 2009 12:49 PM
> To: address@hidden
> Subject: [avr-gcc-list] Re: sprintf
> I didn't mean to imply that there is a problem with sprintf itself - 
> I've had occasion to use it in my own programs.  The point is 
> that it is 
> totally inappropriate in this case - not only is direct access to the 
> array hugely smaller and faster, but it is very much clearer to write 
> and easier to understand.
> When you want to use the features of sprintf (and friends) 
> for text and 
> number formatting, then it is much easier and faster than 
> writing your 
> own code.

Which can be summed up in the saying: "Use the right tool for the job." ;-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]