When call a method with blank value in default arguments/with no argument in the position of default argument, the method uses the default value automatically….This is like “overload” in C++
What’s the idiom in Ruby when you want to have a default argument to a function, but one that is dependent on another parameter / another variable? another parameter / another variable?
def foo(a, l = a.size) end