Dicts are now ordered, get used to it
There were several moments over the last few weeks when I heard
people discuss differences between Python
lists and
dicts and
one of the first ones mentioned was that lists are ordered and dicts
are not.
Well, not anymore.
Source: Dicts are now ordered, get used to
it, an
article by Ivan Sagalaev.
Overload Functions in Python
Function overloading is the ability to have multiple functions with
the same name but with different signatures/implementations. When an
overloaded function fn
is called, the runtime first evaluates the
arguments/parameters passed to the function call and judging by this
invokes the corresponding implementation.
Source: Overload Functions in
Python, an
article by Arpit Bhayani.