On Feb 16, 6:21 am, Eric Brunel
wrote:
> In article
> <6849fd3f-5116-4b35-b274-dc76ae39f...@a11g2000pro.googlegroups.com>,
>
>
>
>
>
> RJB wrote:
> > On Feb 16, 12:48 am, Eric Brunel
> > wrote:
> > > In article ,
> > > Doug Epling wrote:
>
> > > > hey, does anyone find the UML useful during P
In article
<6849fd3f-5116-4b35-b274-dc76ae39f...@a11g2000pro.googlegroups.com>,
RJB wrote:
> On Feb 16, 12:48 am, Eric Brunel
> wrote:
> > In article ,
> > Doug Epling wrote:
> >
> > > hey, does anyone find the UML useful during Python development of larger
> > > projects?
> >
> > Well, UML
On Feb 16, 12:48 am, Eric Brunel
wrote:
> In article ,
> Doug Epling wrote:
>
> > hey, does anyone find the UML useful during Python development of larger
> > projects?
>
> Well, UML being very Java/C++ oriented, I found out that Python idioms
> were really difficult to represent in the diagrams
In article ,
Doug Epling wrote:
> hey, does anyone find the UML useful during Python development of larger
> projects?
Well, UML being very Java/C++ oriented, I found out that Python idioms
were really difficult to represent in the diagrams. So I'm using it to a
very small extent and for doc
hey, does anyone find the UML useful during Python development of larger
projects?
--
http://mail.python.org/mailman/listinfo/python-list
Thank you
--
http://mail.python.org/mailman/listinfo/python-list
[Re-ordered to get rid of the top-posting]
On Thu, 10 Feb 2011 17:11:16 -, Paul Symonds
wrote:
On 10 Feb 2011, at 16:36, Dan Stromberg wrote:
On Wed, Feb 9, 2011 at 1:50 PM, Paul Symonds
wrote:
Are there any good resources to learn OO Python from?
Yes, plenty, but it's impo
Symonds wrote:
>> Are there any good resources to learn OO Python from?
>
> Yes, plenty, but it's important for us to know so we can advise you:
> Do you know any other OO languages yet?
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Feb 9, 2011 at 1:50 PM, Paul Symonds wrote:
> Are there any good resources to learn OO Python from?
Yes, plenty, but it's important for us to know so we can advise you:
Do you know any other OO languages yet?
--
http://mail.python.org/mailman/listinfo/python-list
On 2/9/2011 4:50 PM, Paul Symonds wrote:
Are there any good resources to learn OO Python from?
I learned some from classes in stdlib modules.
--
Terry Jan Reedy
--
http://mail.python.org/mailman/listinfo/python-list
Paul Symonds writes:
> Are there any good resources to learn OO Python from?
The first resource to use is the Python tutorial
http://docs.python.org/tutorial/>.
Work through the whole thing: read the text and run the examples
yourself, then experiment until you understand the points
On 02/09/2011 04:50 PM, Paul Symonds wrote:
> Are there any good resources to learn OO Python from?
>
To my knowledge, all Python is OO. What specifically about OOP do you
want to know?
http://www.alan-g.me.uk/tutor/tutclass.htm
I've always liked Alan's site. Come over to the T
Are there any good resources to learn OO Python from?
--
http://mail.python.org/mailman/listinfo/python-list
ssecorp wrote:
def append(self, item):
self.stack.append(item)
I can get to see the stack with var.stack but then why even implement
append when I could do self.stack.append(x) etc.
That way you could do away with OO completely.
Umm. Even if you were to write that, self and stack
On Jul 13, 12:32 am, ssecorp <[EMAIL PROTECTED]> wrote:
> I first learned about OO from Java.
>
> I much prefer to program in Python though.
>
> However I am consufed about 2 things.
>
> 1. Why do I have to pass self into every method in a class? Since I am
> always doing why cant this be automated
On Jul 12, 8:44 pm, castironpi <[EMAIL PROTECTED]> wrote:
> On Jul 12, 1:01 pm, Duncan Booth <[EMAIL PROTECTED]> wrote:
>
>
>
> > ssecorp <[EMAIL PROTECTED]> wrote:
> > > 1. Why do I have to pass self into every method in a class? Since I am
> > > always doing why cant this be automated or abstract
In article <[EMAIL PROTECTED]>,
Duncan Booth <[EMAIL PROTECTED]> wrote:
> Sadly a lot of Java programmers mistake the limitations of their language
> for rules of OO programming, and worse this has spread from Java into other
> languages where these restrictions no longer need apply.
You can g
On Jul 12, 1:01 pm, Duncan Booth <[EMAIL PROTECTED]> wrote:
> ssecorp <[EMAIL PROTECTED]> wrote:
> > 1. Why do I have to pass self into every method in a class? Since I am
> > always doing why cant this be automated or abstracted away?
> > Are the instances where I won't pass self?
> > I imagine th
On 12 juil, 18:32, ssecorp <[EMAIL PROTECTED]> wrote:
> I first learned about OO from Java.
>
> I much prefer to program in Python though.
>
> However I am consufed about 2 things.
>
> 1. Why do I have to pass self into every method in a class?
You mean "declare self as the first argument", I assu
ssecorp <[EMAIL PROTECTED]> wrote:
> 1. Why do I have to pass self into every method in a class? Since I am
> always doing why cant this be automated or abstracted away?
> Are the instances where I won't pass self?
> I imagine there is some tradeoff involved otherwise it would have been
> done awa
On Jul 12, 12:32 pm, ssecorp <[EMAIL PROTECTED]> wrote:
> I first learned about OO from Java.
>
> I much prefer to program in Python though.
>
> However I am consufed about 2 things.
Short answer is, "Java isn't the only way OOP."
Longer answers follow.
> 1. Why do I have to pass self into ever
I first learned about OO from Java.
I much prefer to program in Python though.
However I am consufed about 2 things.
1. Why do I have to pass self into every method in a class? Since I am
always doing why cant this be automated or abstracted away?
Are the instances where I won't pass self?
I ima
22 matches
Mail list logo