On 5/9/17 9:03 AM, Bobby Holley wrote:
I think passing non-nullable things by reference is good, but I think we should keep it consistent for a given type.
I should note that we already have this across all types to some extent: WebIDL bindings pass non-nullable interface types as references, on purpose, to make it clear that they can't be null (and conversely to make it very clear which things _can_ be null and hence need null-checking).
In case it's not obvious, I support passing non-nullable things as references. ;)
-Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform