Tsvetan wrote:
>>C'mon guys use your heads :) I know Internet made it too easy now and
>>when you get new project first thing is to search for ready made code
>>examples which to re-use but this is definitely not the best approach!
I agree with Tsvetan on some points.
It is true that with Internet (and this Yahoo group) it almost seems
easier to google and aks questions than just looking at datasheets.
Michael Rubitschka wrote:
> If seen many developers but in the end even the most talented ones
> (to which I do not belong) copy where they can. So they also
> introduce much less bugs.
> Only a beginner tries to write all himself.
Well, as Michael said, copy where you can.
But you have to know what you copy. The Keil code has perfect examples,
it's defenitely not a 'useless piece of crap' als Tsvetan calls it. It
serves a purpose - All my code serves a purpose if it's a demo or a piece
of product level code does not matter. There defenitely is a difference in
quality ...
Why should I take a lot of time to reinvent the wheel (USB stack, TCP/IP
stack). It takes a lot of studying, understanding - and misunderstanding -
the specs followed by designing, writing and testing large pieces of code.
I rather copy someone else's bugs than create my own in this case ;-)
I am also not re-inventing stuff like a PC, an Operating System, a
compiler, floating point routines or even my own programming language (in
fact I did all of this, just to back up the theoretical stuff I learned).
But copying 'example' code and adding all needed to make it 'product
grade' can be a pain in the ... and create some monsters that are
impossible to maintain.
In that case just go ahead and write your own code. Just don't loose the
good ideas from the example code you got.
Maybe that's what you should do with the Keil code ...
RobMessage
RE: [lpc2000] Re: Digest Number 944
2006-01-28 by Rob Jansen
Attachments
- No local attachments were found for this message.