R
Richard Cornford
Brian said:That's good news. Are you aware if this cross-browser
JavaScript knowledge been consolidated and captured somewhere?
Well, obviously the necessary knowledge must be captured and
consolidated in the minds of the individuals who demonstrate the
possibilities.
If the time to learn how to use a library exceeded the time
saved by using the library, then I wouldn't consider the
library "good enough".
Doesn't that assessment lead to a 'Catch 22' situation where you cannot
assess the time needed to learn (and so trade that off against time
saved) until you have learnt to use the library? If the results fail
your "good enough" here the time that has been spent learning the
library in order to assess how long that would take is pure wasted time.
But then there is the question of how you would know that you were done
learning any library. Obviously that is quite important to any
assessment of how log the process takes.
I like to write my own code as much as anyone, but it's not
always the best investment in time. Over the years, I've
benefited by being able to reuse libraries in various
languages, so I was a bit surprised at what seems like a
prevalent attitude of "write it all yourself" on
this newsgroup.
Didn't I write you a very long post explaining code re-use strategies
that are suited to browser scripting tasks? Nobody is saying 'write it
all yourself', though it is obviously a good idea to know how to write
it all yourself because without that it is impossible to judge the stuff
that comes off other people's shelves, and eventually there will be
something needed that does not currently exist at all. And the act of
learning to write it all yourself, if reasonably handled, will go a long
way to providing anyone who does so with a large collection of their own
re-useable and well-tested code.
Do you think that comes from the constraints of using
libraries in JavaScript, or is there another factor
I'm missing?
You seem to be miss-characterising what you read so there probably is
something you are missing.
Richard.