Hacker News new | ask | show | jobs
by wrs 716 days ago
Sadly there is nothing that can tell you that you got those arguments backwards.
1 comments

Point taken. But you can check the declaration of RaiseInvoice and see if the names match. If you had RaiseInvoice(false, true) then you really wouldn't know.
Totally a matter of taste, but for an equal level of protection and less vertical waste I’d rather just do

    RaiseInvoice(/*taxInvoice*/ false, /*sendEmail*/ true)