ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
really clear, thanks!
Would you ever use the third-party multimethod library to get Java-like method overloading?
probably not, no -- it would be very slow and there's `functools.singledispatch` for 1-ary overloading
@@anthonywritescode Thanks for the advice!
@@anthonywritescode Can we implement function/method overloading in Python for 2-ary or n-ary operations via built-in packages?
thank you Athony
Excellent.
very nice; Thank you; however the link to `unpacking Union` took me to python typing: re.match and Optional (intermediate) anthony explains #115;
yep that's the right one -- it has the strategies to handle that
really clear, thanks!
Would you ever use the third-party multimethod library to get Java-like method overloading?
probably not, no -- it would be very slow and there's `functools.singledispatch` for 1-ary overloading
@@anthonywritescode Thanks for the advice!
@@anthonywritescode Can we implement function/method overloading in Python for 2-ary or n-ary operations via built-in packages?
thank you Athony
Excellent.
very nice; Thank you; however the link to `unpacking Union` took me to python typing: re.match and Optional (intermediate) anthony explains #115;
yep that's the right one -- it has the strategies to handle that