Kathy Walrath

Results 128 comments of Kathy Walrath

Thanks for the feedback. I'll think about how/where we can make this clearer.

https://stackoverflow.com/questions/22210247/list-foreach-unable-to-modify-element seems to have good answers related to this. Basically, the variable (`val` above) doesn't actually refer to the item in the list; it just temporarily has the same _value_...

Thanks for the issue, @shihaohong. I hadn't seen this syntax before.

This _might_ be fixed, but we should test the git dependencies to make sure they work.

Although I understand the desire to avoid committing generated files, I'm a little leery of introducing yet another way the build can break.

It'd make sense to publish our internal doc on backwards-incompatible changes (go/dart-incompatible-changes) at the same time.

Also see dart-lang/sdk#34669, which points to some confusion people have about const constructors and const in general.

The terms _lambda_ and _closure_ are mentioned in https://dart.dev/guides/language/language-tour#anonymous-functions. We still need to add _tear-off_, especially since we'll have constructor tear-offs soon.

Many of the code samples in the tour predate the style guide by years, so I think we should follow the recommended style (except when it interferes with legibility or...