Re: golang OO removal, benefits. over python?

2014-03-11 Thread Neil Cerutti
On 2014-03-10, flebber flebber.c...@gmail.com wrote: I was wondering if a better programmer than I could explain if the removal of OO features in golang really does offer an great benefit over python. An article I was reading ran through a brief overview of golang in respect of OO features

Re: golang OO removal, benefits. over python?

2014-03-11 Thread Ian Kelly
On Mon, Mar 10, 2014 at 2:38 AM, Marko Rauhamaa ma...@pacujo.net wrote: On the whole though I think that the language is not yet mature enough to be able to seriously compete with more established languages like Python or Java. Also, is there anything seriously lacking in Python, Java and C?

Re: golang OO removal, benefits. over python?

2014-03-10 Thread Ian Kelly
On Sun, Mar 9, 2014 at 10:49 PM, flebber flebber.c...@gmail.com wrote: I was wondering if a better programmer than I could explain if the removal of OO features in golang really does offer an great benefit over python. An article I was reading ran through a brief overview of golang in respect

Re: golang OO removal, benefits. over python?

2014-03-10 Thread Marko Rauhamaa
Ian Kelly ian.g.ke...@gmail.com: The description of how Go structs work is accurate from what I know of it, but I think the author goes astray in claiming that this is not OOP. Call it no-nonsense OOP. No wonder the color of the box was gray in the example. On the whole though I think that

Re: golang OO removal, benefits. over python?

2014-03-10 Thread flebber
Also, is there anything seriously lacking in Python, Java and C? Marko From their FAQ: Go was born out of frustration with existing languages and environments for systems programming. Programming had become too difficult and the choice of languages was partly to blame. One had to choose

Re: golang OO removal, benefits. over python?

2014-03-10 Thread Chris Angelico
On Mon, Mar 10, 2014 at 6:50 PM, Ian Kelly ian.g.ke...@gmail.com wrote: The author points out that nested structures can be made optional by including a pointer to the structure instead of the structure itself. Again you can do the exact same thing in C++; in OOP this is usually described as a

Re: golang OO removal, benefits. over python?

2014-03-10 Thread wxjmfauth
Le lundi 10 mars 2014 05:49:20 UTC+1, flebber a écrit : Why would a Python user change to go except for new and interesting? Unicode jmf -- https://mail.python.org/mailman/listinfo/python-list

Re: golang OO removal, benefits. over python?

2014-03-10 Thread Marko Rauhamaa
Chris Angelico ros...@gmail.com: Java's MI simply doesn't exist (that's perfectly pure!), although implementing interfaces can do a lot of it; but then you end up duplicating piles of code (on the other hand, that's nothing new in Java code). Java 8 has default methods for interfaces. That

Re: golang OO removal, benefits. over python?

2014-03-10 Thread Chris Angelico
On Tue, Mar 11, 2014 at 3:16 AM, Marko Rauhamaa ma...@pacujo.net wrote: Chris Angelico ros...@gmail.com: Java's MI simply doesn't exist (that's perfectly pure!), although implementing interfaces can do a lot of it; but then you end up duplicating piles of code (on the other hand, that's

Re: golang OO removal, benefits. over python?

2014-03-09 Thread Rustom Mody
On Monday, March 10, 2014 10:19:20 AM UTC+5:30, flebber wrote: I was wondering if a better programmer than I could explain if the removal of OO features in golang really does offer an great benefit over python. That's a strange locution: You are suggesting that go had OOP and it was removed --