[Tutor] Prime numbers
ydmt923 at gmail.com
Sun Mar 28 12:57:58 CEST 2010
> > What 'problem' are you trying to solve?
> In general, anytime you can use a premade solution, you are at an
> not cheating.
> That's one of the marks of a truly good programmer - being able to reuse as
> much code as possible.
> Unless it's a homework problem and he said "don't use the prime function"
> because in this case, your goal is to learn how to write a prime function,
> not to calculate primes.
> I.E. it's the doing, not the task. And if that's the case, please let us
> know that it's homework. We will still help you, we just follow certain
> when providing homework assistance so as not to "give it away" and still
> allow you to reason / come up with the solution on your own, as your
> probably intended.
It's not homework i just want to be able to convert my algorithm into good
code, and the only way to do that is by actually writing it. I'm just
writing it to learn how it's done.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor