degrees and radians.
Fernando PĂ©rez
fperez528 at yahoo.com
Mon May 6 17:58:13 EDT 2002
Steve Holden wrote:
>> I realize you have good intentions, but I truly don't think that in this
> case
>> the benefits outweigh the cost. OTOH, one could add a comment in the
>> docstrings to the effect of 'trig functions expect arguments in radians',
>> since it does seem to cause confusion among newbies.
>>
> But these would be maths newbies as well as Python newbies. The comment is a
> good idea.
Indeed I meant math newbies rather than Python newbies. Thanks for the
clarification, that's what I had in mind but wasn't explicit enough. This can
actually bite a very experienced programmer who simply isn't too familiar
with math details.
Cheers,
f.
More information about the Python-list
mailing list