Dwayne Slater

Results 29 comments of Dwayne Slater

@wwylele What happens when you set the sample color to white?

In this case you could also workaround using an `extension` on Updatable. An extension will use the static type of T, instead of the runtime type: ```dart class MyClass {...

> * **Inline allocation.** You want an aggregate type that can be reliably allocated directly on the stack, in a contiguous array, or inline in a surrounding object. This means...

> I don't think boxing is a huge problem. Yes, you might need to box the value type when it ends up in a collection or in a variable whose...

@lifranc Please don't come to language repository just to leave comments that do not add to the conversation. I'm watching the repository so I can keep track of all the...

Maybe this should be called "shadowing" instead of "overriding"? And maybe have a lint for adding an `@shadow` annotation as well, to make it clearer.

I still like the idea of `with` to handle positional fields. `(1, 2) with (_, 5)` returns `(1, 5)`. This isn't something spread can cover, because it semantically feels it...

I really like the colon suggestion from @stereotype441. I think allowing it (not making it required) wouldn't be a breaking change right? The point is there needs to be some...

Have you also considered introducing support to spread record typedefs in parameter lists as well? Example of how this can greatly improve passing parameters to extended/nested widgets: ```dart typedef CommonButton...

I don't see this as a bad thing. It would be great to use this in the near term while structs are being worked on/fleshed out. Records could even be...