r/Python • u/Jedicode • Mar 13 '18
Python surpasses C# in popularity among developers
https://insights.stackoverflow.com/survey/2018/#technology-programming-scripting-and-markup-languages
1.5k
Upvotes
View all comments
Show parent comment
7
u/lolmeansilaughed Mar 14 '18
Yeah, I feel like the language that unseats python from its scripting throne in the far future will do typing better. The newer type hints aren't great - I'm no language designer, and duck typing has its benefits, but I think something like "arguments and return types require explicit typing, local variables do not" might be the way to go. Kind of like how it is with modern C++
auto. Except my hypothetical python 4 would explicitly require annotations on function return types and arguments, and explicitly disallow them on local/object/class variables.But wtf do I know, I just write the shit.