You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the functions take a metric ton of arguments, most of which have sensible defaults, which someone writing a simple client might not know for sure. The client writer can probably guess, but they shouldn't have to and it makes the code quite unwieldy.
Where the protocol requires an argument, we should generate
let f ?(x = Reasonable_default)
Where the protocol allows an argument to be omitted, we should generate
let f ?x
The text was updated successfully, but these errors were encountered:
It might be safer to just make the code break in case we add a new parameter, so that clients will be notified about it, instead of just silently sending the default value.
Some of the functions take a metric ton of arguments, most of which have sensible defaults, which someone writing a simple client might not know for sure. The client writer can probably guess, but they shouldn't have to and it makes the code quite unwieldy.
Where the protocol requires an argument, we should generate
Where the protocol allows an argument to be omitted, we should generate
The text was updated successfully, but these errors were encountered: