Bob Nystrom
Bob Nystrom
> Constructor parameter lists are more complicated than field declarations, and users want to have complete control over whether things are named or not, and in which order they occur....
The spec does say: > Dart source text is represented as a sequence of Unicode code points. I can dimly recall some ancient discussions with the old language team about...
Ah, good catch! I didn't notice that extractor patterns also overlap with const constructor calls. Yes, this is technically a breaking change, just like list and map patterns are. For...
OK, I analyzed a bunch of cases. The full comment is [here](https://github.com/dart-lang/language/issues/2408#issuecomment-1227894318). Out of 94,249 switch cases in 18,672,247 lines of code in 102,015 files, 11 were const constructor calls....
> I would prefer to not add such functions outside of `dart:mirrors`, and then they would be part of a `RecordMirror`, not something which works on the reified tuple itself....
In 98341cdce3ec52765e8a94b2d3581e8ae47704db, I removed the reflective methods on `Record`. This means that it's currently an empty interface with no members, so we could remove it if we wanted to. However,...
> Is there risk in experimenting, or even shipping, without the `Record` type? Can we wait until we see the case where it is useful to provide it? Yes, I...
> I use `Function` just as a reminder that whatever is stored in this polymorphic function, at least I know it's a function of some sort. It's not _necessary_, but...
I can give you some more context in person if you like.
[This page](https://flutter.dev/docs/development/ui/interactive#managing-state) is a good intro to stateful widgets in Flutter. You can skim it to get the gist. The relevant part for our discussion is that if you want...