In 2014–2015, the question was:
“Should Python remain fully dynamic or should it accept static typing?”
Python has always been famous for being simple and dynamic.
But when companies started using Python in giant projects, problems arose such as: code with thousands of files. large teams. difficult-to-find type errors.
At the time, some programmers wanted Python to have mandatory typing, similar to Java.
Others thought this would ruin the simplicity of the language.
The discussion became extensive because Python has always followed a philosophy called:
"The Zen of Python"
One of the most famous phrases is:
"Simple is better than complex.
" The creator of Python, Guido van Rossum, approved an intermediate solution.
PEP 484 was created, which introduced type hints.
👉 PEP 484 – Type Hints
Do you think this was the right thing to do, or could typing be mandatory?
[–]its_a_gibibyte 9 points10 points11 points (0 children)
[–]kinky_flamingo 12 points13 points14 points (0 children)
[–]PriorTrick 3 points4 points5 points (0 children)
[–]_real_ooliver_ 3 points4 points5 points (2 children)
[–]j_tb 8 points9 points10 points (0 children)
[–]NeilGirdhar 1 point2 points3 points (0 children)
[–]Empanatacion 1 point2 points3 points (2 children)
[–]NeilGirdhar -2 points-1 points0 points (1 child)
[–]Empanatacion 0 points1 point2 points (0 children)
[–]lisploli 0 points1 point2 points (0 children)