I couldn't disagree with this article more.I/"we" require TypeHints and use of named arguments for readability sake. While your simple, construed `math` example is absolutely valid…Feb 9Feb 9
Classically, Python is does not support what most "modern" languages call Polymorphism.C#, Java, Oracle PL/SQL, ... support ad hoc polymorphism and parametric polymorphism. Python kind of simulates some of this behavior by…Dec 2, 2024Dec 2, 2024
You are glossing over the fact that it is not part of the native Python libraries.Jul 1, 20241Jul 1, 20241
I have to disagree.Personally, this gap drives me crazy that Python doesn't haven't "standard" Polymorphism. I routinely code in other languages (e.g. C#…Jun 10, 2024Jun 10, 2024
Um... you do realize that you still used "for", right?person = next((item **for** item in list_of_dicts...Feb 29, 20242Feb 29, 20242
I've been using optional parameters for decades (Oracle PL/SQL).f1(arg1, arg2,arg3)Mar 24, 2022Mar 24, 2022
Setting your background in Teams (Mac or Windows)…Today, I was talking to a director with a fuzzed-out background. Every time he fidgeted and turned his head slightly, a baby would come…Sep 5, 2020Sep 5, 2020