Type hinting of Python is just a toy ?

iamybj at icloud.com iamybj at icloud.com
Fri Jan 4 03:04:59 EST 2019


I read that pep 484 type hinting of python has no effect of performance, then what’s the purpose of it? Just a toy ?

Python is an old programming language, but not better than other programming languages, then what are you all dong for so many times ? 

Pep484 is too complex. Typle should not a seperate type, in fact it should be just a class. Like this in other programming language
Python: Tuple(id: int, name: string, age: int)
Other: class someClass {
	public int id;
	public string name;
	public int age;
}

Design of OOP of python is too bad, so it treat Tuple as a seperate type.

Why looks different than others? afraid of cannot been watched by others?



More information about the Python-list mailing list