3 ms·
>The only thing I find inconvenient in Python is you can't simply put every function (including every member functions of a class - that's what I would love to
by tjpnz 8y ago
>The only thing I find inconvenient in Python is you can't simply put every function (including every member functions of a class - that's what I would love to do) into separate file without having to import every one of them manually.
That strikes me as an anti-pattern although you could mimic this behaviour by exposing each one at the package level. Performance is likely to be terrible if you're working on anything sufficiently large.