[Python-Dev] Type hints -- a mediocre programmer's reaction
Nikolaus Rath
Nikolaus at rath.org
Tue Apr 21 19:03:06 CEST 2015
On Apr 21 2015, Paul Sokolovsky <pmiscml at gmail.com> wrote:
> Hello,
>
> On Tue, 21 Apr 2015 08:05:59 -0700
> Nikolaus Rath <Nikolaus at rath.org> wrote:
>
>> On Apr 20 2015, Chris Angelico <rosuav at gmail.com> wrote:
>> > Maybe it'd be of value to have a quick "code stripper" that takes
>> > away all the annotations, plus any other junk/framing that you're
>> > not interested in, and gives you something you can browse in a text
>> > editor?
>>
>> If you need to preprocess your source code to make it suitable for
>> human consumption something is very wrong with your language design.
>> I can't believe you're seriously suggesting this.
>
> I'm sure that was irony, d'oh.
That'd be a relief. It didn't sound ironic to me.
> The proposed type annotations are very readable.
[..]
I don't have an informed opinion about that yet. I was just commenting
on the general idea of stripping them away if they're not readable.
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
More information about the Python-Dev
mailing list