Why are default arguments not allowed in protocols?

I like that default keyword as part of the protocol requirements. Should be worth pitching.

As it seems to work and answers the original question, is this still the way to do it or is there something better now?

It’s still the way.

1 Like

Resurrecting this thread - I wonder if we could just have default arguments be sugar for the compiler adding the extension :thinking:

Would be a nice UX win for protocols IMO