Closed eelstork closed 3 years ago
Certainties have improved so, above APIs will return certainties and hopefully explicit conversions can be avoided in most cases.
May open a separate issue for a Try
syntax. Does not seem relevant to booleans, only nullable.
Reopening because this needs updating docs
Closing with ref to #66 and #53
In places, AL has object-context functions looking like:
These functions serve no purpose other than integrating (mostly assignment calls) with expression bodied members, however they are still useful. As part of updating certainties, it would be nice to look into this.
Considerations:
status
static context, making them widely available (DRY).Do
is correctly formulated as an action, design-wise likely as not we wantdone
orcont
.Do
andRun
as separate functions may be good since it clarifies the return type better than prefixing a unary op.Try
function may be nice.