Closed skeltoac closed 1 month ago
I do not really consider the example neither idiomatic, nor valid.
How do I produce "One for , one for me."?
If at all, nil
might be used as a semi idiomatic approach.
@NobbZ I agree with you about the example code here.
What needed fixing was the disconnect between the analyzer comment telling you to use a default argument when in fact you were using one. The changes that closed this issue addressed that point, further discussions on idiomaticity (is that a word?) or validity belong to a mentorship session.
Analyzer emits the following message for the code below.