General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Anony Mousse
Indently
comments
Comments by "Anony Mousse" (@anon_y_mousse) on "Every Python Dev Should Know THIS Concept" video.
Consider that type annotations didn't always exist, so `foo = int()` made perfect sense then to inform the reader that it was supposed to be an int.
2
@coolcodingcat You missed the point there. That's an explicit function call, where Python wouldn't require such explicitness.
2
It's actually the same in a few other languages, such as C++, just that it's usually hidden and not called directly. However, in most normal instances, you still can call it.
1