syntax difference
Steven D'Aprano
steve+comp.lang.python at pearwood.info
Tue Jun 19 23:11:56 EDT 2018
On Tue, 19 Jun 2018 12:38:24 -0700, Rick Johnson wrote:
> Why shouldn't i have the right to "brush type-hints under the rug" Ian?
> After all, if the code *I* write doesn't belong to *ME*, well then, who
> *HELL* does it belong to?
If you don't want to use type-hints in your own code, why did you put
them in in the first place?
Don't expect somebody else to reverse your own foolishness. You put the
annotations in, you can take them out.
> Is it not the right of the programmer to decide whether a named function
> is more appropriate than a list comprehension or an anonymous function?
It isn't the right of the programmer to have somebody else write a
function to convert the one to another for them.
--
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing
it everywhere." -- Jon Ronson
More information about the Python-list
mailing list