How programmers transition between languages
rjframe
dlang at ryanjframe.com
Sat Jan 27 13:56:35 UTC 2018
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()
```
More information about the Digitalmars-d
mailing list