Otto Moerbeek wrote: > On Fri, 28 Apr 2006, Gustavo Rios wrote: > >> I could suggest one to avoid ANSI C functions as much as possible. >> Write his/her own ones. Why? The motivation has been stated by you: >> portability concerns. > > Only if you believe the code you produce is better than the result of > the effort of hundreds of people over a period of more than 20 years. > > People inventing the wheel over and over is nothing more than a waste > of effort and a endless source of bugs. Effort that instead could > have been spent on providing more C99 features to our libc. > > -Otto >
Programming in ANSI is the best way to get portability. I agree with Otto. Invent the wheel over and over is a waste that could be put to some good use. The only place that i believe that invent the wheel is good is when you are learning. After that point, using ANSI functions, is the best way to program correctly, securely and portable. My 2 cents, -- Giancarlo Razzolini Linux User 172199 Moleque Sem Conteudo Numero #002 Slackware Current OpenBSD Stable Snike Tecnologia em Informatica 4386 2A6F FFD4 4D5F 5842 6EA0 7ABE BBAB 9C0E 6B85 [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]