4 ms·
This makes me want to try out "ellipsis" arguments. The ellipsis tells the compiler that the intended arguments for a function are the only ones available in sc
by d_burfoot 3y ago
This makes me want to try out "ellipsis" arguments. The ellipsis tells the compiler that the intended arguments for a function are the only ones available in scope that agree with the types required for the function, so they can be inferred.
static URL buildSiteURL()
{
Website website = getMyWebSite();
String path = "styles.css";
return createUrl(...);
}