Bob Nystrom
Bob Nystrom
> > They are definitely kind of special when it comes to generative constructors. > > You can take a tearoff of those today right? You can tear off a...
Collection-if puts us in a potentially confusing position. If we do `if` expressions and always require them to have an `else` clause then there is little room for trouble since...
I also think overloading would be a fantastically useful feature, but it's complexity is not to be under-estimated. If the language folks seem to cower in fear every time it...
> Do we have a *requirement* that all new features support dynamic invocation? I think dynamic invocation is red herring. C#'s `dynamic` supports full C# overload resolution. The complexity isn't...
Potentially, yes, but I think they tend to be simpler. With extension methods, you still only have a single "parameter" you need to dispatch on. You don't have to worry...
> Either no tear-off support, or force users to write `void Function(String) bar = foo.bar` I believe the latter is what C# does. It helps, though it causes some weird...
> If the referenced type is not in scope at the call site is it an error? I don't think so. What matters is that the type is in scope...
> Is this a proposal that would fit a lot of use cases ? It seems like it's mainly aimed at flutter. I think Flutter definitely exacerbates the problem since...
> Maybe having 10 ffi calls per loop might be better? (easier to digest) You mean like: ``` while (x < count) { x = FFI.plusone(x) x = FFI.plusone(x) x...
That sounds good to me. :)