Re: Good Form

2006-10-21 Thread bruno de chez modulix en face
[EMAIL PROTECTED] a écrit : > I am new to Python but come from a C++ background so I am trying to > connect the dots :) . I am really liking what I see so far but have > some nubee questions on what is considered good form. For one thing I > am used to class variables I ass

Re: Good Form

2006-10-21 Thread Ben Finney
[EMAIL PROTECTED] writes: > I am new to Python but come from a C++ background so I am trying to > connect the dots :) Welcome, and commiserations on your harsh upbringing :-) > I am really liking what I see so far but have > some nubee questions on what is considered good form. T

Re: Good Form

2006-10-21 Thread Travis Vachon
[EMAIL PROTECTED] wrote: > I am new to Python but come from a C++ background so I am trying to > connect the dots :) . I am really liking what I see so far but have > some nubee questions on what is considered good form. For one thing I > am used to class variables being accessable only

Re: Good Form

2006-10-21 Thread Gregor Horvath
[EMAIL PROTECTED] schrieb: > Would you normally write methods to retrive and set your class > variables or just refrence them directly? > you start by referencing them directly and ONLY if you need you can add getters and setters later on without breaking any client code. see the property functi

Re: Good Form

2006-10-21 Thread Theerasak Photha
On 21 Oct 2006 01:17:32 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am new to Python but come from a C++ background so I am trying to > connect the dots :) . I am really liking what I see so far but have > some nubee questions on what is considered good form. For one th

Good Form

2006-10-21 Thread phez . asap
I am new to Python but come from a C++ background so I am trying to connect the dots :) . I am really liking what I see so far but have some nubee questions on what is considered good form. For one thing I am used to class variables being accessable only through methods instaed of directly