syntax difference

Chris Angelico rosuav at gmail.com
Sun Jun 17 20:10:32 EDT 2018


On Mon, Jun 18, 2018 at 9:30 AM, Rick Johnson
<rantingrickjohnson at gmail.com> wrote:
> On Sunday, June 17, 2018 at 2:07:40 PM UTC-5, Jim Lee wrote:
>
>> IMHO, trying to shoehorn static type checking on top of a dynamically
>> typed language shows that the wrong language was chosen for the job.
>
> Exactly.
>
> I'm not against the idea of Python growing a new feature.
> Features are great. My objection is concerned merely with
> the "how" it is implemented, not the "why" it was
> implemented.
>
> "Type-hint comments" would allow:
>
>  (1) those who need them, to use them.
>
>  (2) those who don't care about them, to totally ignore
>      them.
>
>  (3) and those who utterly *HATE* them, to write a simply
>      little function which will strip them from any and all
>      source code they might be forced to maintain.

Awwww. Isn't it cute, how he thinks that comments are easier to remove
than other elements equally well defined in the grammar?

ChrisA



More information about the Python-list mailing list