I actually don't think that this should be discouraged. The petitioner has shown that they are not simply looking for an easy answer. If someone wants to go the extra mile and give them one, then good. The petitioner can always ignore the full code and roll his own, and anybody else who was interested can see the code.
in reply to Re: Is this the right way to learn?
in thread Is this the right way to learn?
Remember that it's often not just the petitioner who is interested in the answer!
May your tongue cleave to the roof of your mouth with the force of a thousand caramels.