?/100

Python's creator wishes this feature never existed

August 29, 2022311784

Description

Guido van Rossum said he would have never put this into Python. If he had to make Python again, he would have never put for/else and while/else into the language. Why would a potentially useful feature that saves extra variables be seen as such a mistake? Find out in this video, where we see how for/else while/else work, where they came from, and why you should probably avoid them in your own professional Python code. ā€• mCoding with James Murphy (https://mcoding.io) Source code: https://github.com/mCodingLLC/VideosSampleCode Create custom lint rules: https://youtu.be/OjPT15y2EpE Guido's 2009 opinion: https://mail.python.org/pipermail/python-ideas/2009-October/006157.html SUPPORT ME ā­ --------------------------------------------------- Patreon: https://patreon.com/mCoding Paypal: https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE Other donations: https://mcoding.io/donate Top patrons and donors: Jameson, Laura M, Vahnekie, Dragos C, Matt R, Casey G, Johan A, John Martin, Jason F, Mutual Information, Neel R BE ACTIVE IN MY COMMUNITY šŸ˜„ --------------------------------------------------- Discord: https://discord.gg/Ye9yJtZQuN Github: https://github.com/mCodingLLC/ Reddit: https://www.reddit.com/r/mCoding/ Facebook: https://www.facebook.com/james.mcoding

Wheatcha