Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Know Thy User.


devel / comp.lang.python / Re: walrus with a twist :+= or ...

SubjectAuthor
o Re: walrus with a twist :+= or ...Peter J. Holzer

1
Re: walrus with a twist :+= or ...

<mailman.116.1635412075.23718.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20233&group=comp.lang.python#20233

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: hjp-python@hjp.at (Peter J. Holzer)
Newsgroups: comp.lang.python
Subject: Re: walrus with a twist :+= or ...
Date: Thu, 28 Oct 2021 11:07:53 +0200
Lines: 68
Message-ID: <mailman.116.1635412075.23718.python-list@python.org>
References: <030e01d7cb96$b69ffc30$23dff490$.ref@verizon.net>
<030e01d7cb96$b69ffc30$23dff490$@verizon.net>
<CAPTjJmp29NdWBGJ5W3tc5-UcvcyOqr3F0y3amsb0jRi26qM53A@mail.gmail.com>
<034301d7cba1$a2378640$e6a692c0$@verizon.net>
<YXpoaVHpN9sRUgg3@hjp.at>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
protocol="application/pgp-signature"; boundary="UQ/CixlgsseEP/tN"
X-Trace: news.uni-berlin.de BWDdlGfeEWNhKr9Sh9SVQglQz2ENd8SgEVrhCPNYUMew==
Return-Path: <hjp-python@hjp.at>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'projects,': 0.03;
'pycharm': 0.04; '(e.g.': 0.05; 'content-type:multipart/signed':
0.05; 'entering': 0.05; 'fairly': 0.05; 'variable': 0.05;
'programmer': 0.07; 'content-type:application/pgp-signature':
0.09; 'filename:fname piece:asc': 0.09; 'filename:fname
piece:signature': 0.09; 'filename:fname:signature.asc': 0.09;
'shift': 0.09; 'that.': 0.15; '"but': 0.16; '"creative': 0.16;
'(because': 0.16; '__/': 0.16; 'avi': 0.16; 'challenge!"': 0.16;
'co-workers': 0.16; 'from:addr:hjp-python': 0.16;
'from:addr:hjp.at': 0.16; 'from:name:peter j. holzer': 0.16;
'gross': 0.16; 'hjp@hjp.at': 0.16; 'holzer': 0.16; 'mechanics':
0.16; 'reality.': 0.16; 'stross,': 0.16; 'tightly': 0.16;
'unicode': 0.16; 'url-ip:212.17.106.137/32': 0.16; 'url-
ip:212.17.106/24': 0.16; 'url-ip:212.17/16': 0.16; 'url:hjp':
0.16; '|_|_)': 0.16; 'wrote:': 0.16; "can't": 0.17; 'uses': 0.19;
'to:addr:python-list': 0.20; 'language': 0.21; 'languages': 0.22;
'code': 0.23; '(and': 0.25; 'visual': 0.26; 'expect': 0.28;
'sense': 0.28; 'computer': 0.29; 'it,': 0.29; 'think': 0.32;
'everyone': 0.32; 'question': 0.32; 'programmers': 0.32; 'python-
list': 0.32; 'but': 0.32; 'work.': 0.34; 'header:In-Reply-To:1':
0.34; 'team.': 0.35; 'those': 0.36; 'using': 0.37; 'edit': 0.39;
'use': 0.39; 'ide': 0.40; 'serious': 0.40; 'studio': 0.40; 'both':
0.40; 'want': 0.40; 'method': 0.61; 'received:212': 0.62;
'limited': 0.62; 'great': 0.63; 'research': 0.64; 'personal':
0.64; 'company': 0.64; 'received:userid': 0.66; 'away': 0.67;
'operations': 0.68; 'diversity': 0.69; 'url-ip:212/8': 0.69;
'attention': 0.71; 'easy': 0.74; 'editors': 0.76; 'tight': 0.76;
'variety': 0.84; 'characters': 0.84; 'country),': 0.84; 'entry,':
0.84; 'received:at': 0.84; 'vim,': 0.84; 'greek': 0.91
Content-Disposition: inline
In-Reply-To: <034301d7cba1$a2378640$e6a692c0$@verizon.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.35
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <YXpoaVHpN9sRUgg3@hjp.at>
X-Mailman-Original-References: <030e01d7cb96$b69ffc30$23dff490$.ref@verizon.net>
<030e01d7cb96$b69ffc30$23dff490$@verizon.net>
<CAPTjJmp29NdWBGJ5W3tc5-UcvcyOqr3F0y3amsb0jRi26qM53A@mail.gmail.com>
<034301d7cba1$a2378640$e6a692c0$@verizon.net>
 by: Peter J. Holzer - Thu, 28 Oct 2021 09:07 UTC
Attachments: signature.asc (application/pgp-signature)

On 2021-10-27 22:15:09 -0400, Avi Gross via Python-list wrote:
> But a serious question is now that we sort of have UNICODE, and even many
> editors and other programs support it, perhaps it might make sense for some
> operations in computer languages to make use of them.

I have thought so since the 1990's.

But while the large variety of unicode symbols is great for displaying
programs, it is awful for entering them. Keyboards have a limited number
of keys (and those are fairly standardized, if a different standard in
each country), so you either have to combine several keys or need to
pick characters by a different method (e.g. the mouse). Both are
cumbersome, shift the attention of the programmer from the algorithm to
the mechanics of entry, and are different from editor to editor.

I sometimes use Greek letters in variable names. But I do that only for
personal projects, not at work. I can't expect my co-workers to find out
how enter Greek letters in PyCharm or Visual Studio Code or Notepad++ or
whatever they are using and I don't want to do that research myself (I
know how to use digraphs im vim, thank you). And we are a small team.
Think of the diversity in a large multi-national company ...

It might work if the language is tightly integrated with an IDE. Then
the designers of the IDE and the designers of the language can work
together to make it easy to edit programs. And everyone who uses the
language has to use the IDE anyway (because of the tight integration),
so "but how do I type that in Notepad++?" is not a concern.

But tying together a language to an IDE that tightly will turn away all
programmers who are already used to a different IDE (or just plain
editor) and want to continue to use that.

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

Attachments: signature.asc (application/pgp-signature)

devel / comp.lang.python / Re: walrus with a twist :+= or ...

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor