Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread sohcahtoa82
On Thursday, June 11, 2015 at 4:19:59 AM UTC-7, Skybuck Flying wrote: > Hello, > > I don't like the object orientated part of Python. > > The idea/prospect of having to write "self" everywhere... seems very > horrorific and a huge time waster. > > (Perhaps the module thing of python might help

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Rustom Mody
On Thursday, June 11, 2015 at 4:49:59 PM UTC+5:30, Skybuck Flying wrote: > Hello, > > I don't like the object orientated part of Python. > > The idea/prospect of having to write "self" everywhere... seems very > horrorific and a huge time waster. > > (Perhaps the module thing of python might he

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Thomas Mlynarczyk
On 11/06/15 14:16, MRAB wrote: harder then they anticipated. ---^ seems nicer... then having to use self everywhere... "then"? Should be "than"... (That seems to be happening more and more these days...) Indeed :-) -- Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Michael Torrie
On 06/11/2015 05:19 AM, Skybuck Flying wrote: > I haven't written much OO code yet in Python... and don't plan on doing it > too... Except that you already have written OO code in Python with your parser. Or at least code that interacts heavily with OO. Anytime you call a method on a string lik

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread MRAB
On 2015-06-11 12:27, Skybuck Flying wrote: Then again... I also believe the highest goal for a programming language is "natural spoken" language. Natural language is full of ambiguities. If "self.somefield" equals 10 then... Does have some understandable ring to it. However... time constra

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Chris Angelico
On Thu, Jun 11, 2015 at 9:27 PM, Skybuck Flying wrote: > If I wanted to access a global variable I would use the existing "global" > thing > > global SomeField... > > maybe if I wanted to use a local variable for routine: > > local SomeField... > > seems nicer... then having to use self everywhere

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Chris Angelico
On Thu, Jun 11, 2015 at 9:27 PM, Skybuck Flying wrote: > If I wanted to access a global variable I would use the existing "global" > thing > > global SomeField... > > maybe if I wanted to use a local variable for routine: > > local SomeField... > > seems nicer... then having to use self everywhere

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Skybuck Flying
Then again... I also believe the highest goal for a programming language is "natural spoken" language. If "self.somefield" equals 10 then... Does have some understandable ring to it. However... time constraints also have to be kept in mind. In another words if the code looks like begin of

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Skybuck Flying
Another typo corrected... see (*) "Skybuck Flying" wrote in message news:2c87e$55796f2c$5419aafe$47...@news.ziggo.nl... Little typo corrected... it's a common typo I seem to make. "with" had to be "without" see ***. "Skybuck Flying" wrote in message news:... Hello, I don't like the o

Re: I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Skybuck Flying
Little typo corrected... it's a common typo I seem to make. "with" had to be "without" see ***. "Skybuck Flying" wrote in message news:... Hello, I don't like the object orientated part of Python. The idea/prospect of having to write "self" everywhere... seems very horrorific and a huge time

I don't like the OO part of python. In particular the "self" keyword everywhere.

2015-06-11 Thread Skybuck Flying
Hello, I don't like the object orientated part of Python. The idea/prospect of having to write "self" everywhere... seems very horrorific and a huge time waster. (Perhaps the module thing of python might help in future not sure about that). What are your thoughts on the "self" thing/requir