Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46421

Re: How clean/elegant is Python's syntax?

References <CAGVx7UWXAFHSHq37Ep-Vk=cM2wYrEGHSUhNc8s43bCvj_VcVow@mail.gmail.com>
Date 2013-05-29 17:24 -0700
Subject Re: How clean/elegant is Python's syntax?
From Dan Stromberg <drsalists@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2388.1369873497.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, May 29, 2013 at 11:13 AM, Ma Xiaojun <damage3025@gmail.com> wrote:

> Hi, list.
>
> For the core language, I have mixed feeling. On one hand, I find that
> Python has some sweet feature that is quite useful. On the other hand,
> I often find Pyhton snippets around hard to understand. I admit that I
> never learned Python very formally; I've programmed in many other
> languages already.
>
> Code snippets in BASIC or Pascal seems quite obvious to understand
> (Unless I don't understand the algorithm) .
>

I'm finding it kind of hard to imagine not finding Python's syntax and
semantics pretty graceful.

About the only thing I don't like is:

   var = 1,

That binds var to a tuple (singleton) value, instead of 1.

Oh, and method decorators seem much more complex than they should've been.

But on the whole, python is a pretty beautiful language.  It's not just
another rehash of Pascal though; if that's what you want you might be
better off looking elsewhere.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: How clean/elegant is Python's syntax? Dan Stromberg <drsalists@gmail.com> - 2013-05-29 17:24 -0700
  Re: How clean/elegant is Python's syntax? Rick Johnson <rantingrickjohnson@gmail.com> - 2013-05-30 16:15 -0700

csiph-web