As what Kernel::format(format_string, *arguments) is populating the
format string with the data provided by *arguments, isn’t it natural
for a String object (namely the format_string) to receive the
‘populate’ message with the data?
Maybe String.populate_with is better in terms of grammar correctness,
but I thing populate is fine.
A bones question, if you once was a Java developer, do you still
remember Java’s version of sprintf? Maybe this help make more sense of
String.populate()
As what Kernel::format(format_string, *arguments) is populating the
format string with the data provided by *arguments, isn’t it natural
for a String object (namely the format_string) to receive the
‘populate’ message with the data?