3 ms·
As a c developer, I've always found the lack of typing to be one of the things I dislike about python. If you're calling a function in C, a lot of the time jus
by ChrisRR 6y ago
As a c developer, I've always found the lack of typing to be one of the things I dislike about python.
If you're calling a function in C, a lot of the time just knowing the type and argument name is enough to call functions without resorting to documentation
In python, you have the argument name and then... what do you want? A number? Are floats or integers alright? Is it a string? And object? An enum? Are there any bounds on the input data that a data type would've instantly told me? Fine, I'll go read the documentation
Adding types gives you so much more information in so few characters
- lmm 6y agoWhat C has barely counts as typing, frankly. No generics, no polymorphism at all, no sum types, even basic wrapper types are painful...