News for hackers. Stuff that matters.
Re:PEP 526: Variable declaration in Python by 2T1Qka0rEiPr on Thursday August 11, 2016 @06:43AM (#12267200)
@dozzie, I don't think static typing does make it easier to read, it makes it more verbose.
Re:PEP 526: Variable declaration in Python by catnaroek on Thursday August 11, 2016 @07:34AM (#12267360)
Are you confusing “static typing” with “type annotations”? You can write large swathes of statically typed code without a single type annotation, in languages with proper type inference. This is 70's-era technology, mind you.
Re:PEP 526: Variable declaration in Python by 2T1Qka0rEiPr on Thursday August 11, 2016 @10:45AM (#12268609)
You're right, I'm conflating the two, though I appreciate that one doesn't require the other.