http://qs1969.pair.com?node_id=606490


in reply to Re^4: Help in manipulating values from two arrays
in thread Help in manipulating values from two arrays

What he was looking to do (and really, much of what those of us new to Perl are trying to do) didn't look to be too hard without the module.

If you were soliciting estimates to build a house, would you trust the estimate of someone who's never built a house before over the estimate of someone with ten years of experience?

I understand that modules certainly have their place. No doubt in my mind, but isn't it also fair (when doing something like this that is fairly simple) to try and figure it out on one's own?

That depends on a lot of factors. If you want to solve a simple problem, is it better to learn how to solve that problem, or how your operating system works, how a programming language works, the ins and outs of the XML specification, and everything that other people have already built for you?

It's definitely good to know all those other things and it's important to learn them, but is it really the best use of your time to rebuild and discover everything when you have the least amount of experience and knowledge and, likely, the greatest practical desire just to get something working?

Take the lesson of Matt's Script Archive; the programs there exhibit absolutely the least amount of knowledge necessary to build their own components, and they've lead to countless security holes. I've never met a beginning programmer who studied RFCs and specifications in detail before starting to code an already-solved problem, and I never expect to. (More often, I find that people who say "I learn better coding it myself!" severely resist learning, especially from the experience of others. I don't mean to imply that you're in this group, but merely that this group exists.)