Python & Go

Carl Banks pavlovevidence at gmail.com
Wed Nov 11 23:42:53 EST 2009


On Nov 11, 7:56 pm, geremy condra <debat... at gmail.com> wrote:
> On Wed, Nov 11, 2009 at 9:00 PM, Mensanator <mensana... at aol.com> wrote:
> > On Nov 11, 6:53 pm, kj <no.em... at please.post> wrote:
> >> I'm just learning about Google's latest: the GO (Go?) language.
> >> (e.g.http://golang.orgorhttp://www.youtube.com/watch?v=rKnDgT73v8s).
> >> There are some distinctly Pythonoid features to the syntax, such
> >> as "import this_or_that",
>
> > There's more to Python than import statements.
> > In fact, this Go language is nothing like Python.
>
> Actually, numerous analogies have been drawn between the two
> both by whoever wrote the docs and the tech media, including
> slashdot and techcrunch.

Superficially it looks quite hideous, at least this sample does, but
underneath the covers might be another question.  Javascript looks
like Java but behaves more like Python.  Such might also be the case
for Go.  I'll reserve judgment till I've looked at it, but it's
advertised as natively supporting something I've always wanted in a
static language: signatures (and, presumably, a culture to support
them).


[snip]
> > Go look at a C++ program sometime.
>
> Go doesn't support inheritance, so C++ is pretty much out. C
> is a lot closer, but still not all that close.

Well, it's hard to argue with not being like C++, but the lack of
inheritance is a doozie.


Carl Banks



More information about the Python-list mailing list