Not sure if this has been discussed here before, but this is the idea.
We all know that when calling a function, if you have a variable that’s named the same as one of the function’s arguments, you have to write it out fully. Like this:
def my_function(a, b):
a = 1
b = 2
When there are a lot arguments and argument names are long, this can be very verbose. What if we could make this shorter and just write:
my_function(a=a, b=b) # these two lines do the same thing
This idea is actually from Systemverilog. I use the feature all the time. Hope python can have a similar feature. It can apparently make a lot of function calls with keyword arguments a lot shorter and cleaner.