LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: What is duck typing in Python? (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-what-is-duck-typing-in-python-4175675340/)

LXer 05-15-2020 10:11 PM

LXer: What is duck typing in Python?
 
Published at LXer:

Python follows the EAFP (Easier to Ask Forgiveness than Permission) rather than the LBYL (Look Before You Leap) philosophy. The Python philosophy of EAFP is somewhat linked to its "duck typing" style of coding.read more

Read More...


All times are GMT -5. The time now is 08:20 PM.