Method default argument whose type is the class not yet defined

Oscar Benjamin oscar.j.benjamin at
Mon Nov 12 02:18:16 CET 2012

On 12 November 2012 01:10, Mark Lawrence <breamoreboy at> wrote:
> On 12/11/2012 00:31, Oscar Benjamin wrote:
>> Plain wrong. Vectors are not defined *from any origin*.
> So when the Captain says "full speed ahead, steer 245 degrees", you haven't
> the faintest idea where you're going, because you have no origin?

As Steve has just explained, the origin has nothing to do with the
orientation of the coordinate system.

But then I'm assuming you meant that 245 degrees was a bearing
relative to North. Was it supposed to be relative to my current angle?
Truthfully I wouldn't know what to do without asking the captain a
couple more questions.


More information about the Python-list mailing list