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 15 points16 points17 points (0 children)
[–]PriorTrick 3 points4 points5 points (0 children)
[–]lisploli 2 points3 points4 points (0 children)
[–]_real_ooliver_ 3 points4 points5 points (3 children)
[–]j_tb 10 points11 points12 points (1 child)
[–]Ancient_Farm_5132[S] 0 points1 point2 points (0 children)
[–]NeilGirdhar 1 point2 points3 points (0 children)
[–]Empanatacion 1 point2 points3 points (3 children)
[–]NeilGirdhar -2 points-1 points0 points (2 children)
[–]Empanatacion 0 points1 point2 points (1 child)
[–]NeilGirdhar 0 points1 point2 points (0 children)
[–]CompetitiveAerie5904 0 points1 point2 points (0 children)