Hear me out: static duck typing. C++ basically has it with templates and it's awesome. Until you get an error and accidentally summon an elder god while trying to read it.
Python is my go to but the way in which variables aren’t actually private but you can add an underscore and go “Just pretend you’re private” hurts me inside
I don't think it helps with writing code quickly any more than having syntactic sugar like "var" in c# that allows you to mostly forget about types whilst ensuring strongly typed code. That's the best of both worlds.
862
u/Transcendentalist178 Apr 08 '22
I don't hate Python, but I don't like dynamic typing.