On Sat, 27 Jan 2018 00:32:21 +0000, Ola Fosheim Grøstad wrote: > ... Anyway, with Python 3.6 you get fairly good > type annotation capabilities which allows static type checking that is > closing on what you get with statically typed languages. Maybe that is > a factor too.
If you use an IDE or analysis/lint tool, you'll get type checking. The
interpreter will happily ignore those annotations.
No complaints here:
```
somevar : int = 'my string'
def func() -> int:
return 'some string'
func()
```
