A piece of code within a lambda function on AWS which never made sense to me:
The last line (line #8) where it says: `RequestItems=request_items`
What kind of variable is "RequestItems?"
And why does it show up as "red" (as if it's an error something) within an IDE, such as IntelliJ?
It's a great way to handle multiple optional arguments. Suppose you have a method like this:
You need to pass the first two required arguments, but if you want to additionally only use a non-default value for the third optional, you call it like this: