On 5/13/2014 2:38 AM, bearophile wrote:
Sometimes you want to give arguments to a function that are only used for debug builds. So is it a good idea to introduce debug arguments (only allowed as trailing arguments, like the arguments with a default value)?
Optional arguments interact badly with overloading. They make overloads very hard to reason about, and overloading is complex enough already.
