Tatumizer
Tatumizer
Suppose we introduced a method `isInitialized` for the late variable (like kotlin does). ```dart late int foo; print(foo.isInitialized) ``` The problem is that methods are always defined for types. Does...
If it's not about types, then I don't understand your earlier objections to `nameof(foo)`. I can't see much difference between `nameof(foo)` and `isInitialized(foo)` (the verbal equivalent for `??`) :-)
Probably off-topic in this thread, but anyway... Would it be too late for dart to introduce the whole class of reserved "annotations" like `@nameof(foo)`? They can be distinguished by the...
> Similar things should look similar, distinct things should look different This is an argument *against* the proposed syntax `??foo`. The "operator" `??` is unlike anything we see in dart:...
What are the use cases for `noSuchMethod`? It's so slow, makes me wonder in what scenarios being that slow is OK. As soon as you impose extra restrictions on noSuchMethod...
> If we get a way to recognize whether an optional parameter was passed an argument or not, you can completely recreate the arguments inside the function. Yes, but the...
This idea probably won't work, but I wonder why. If we know why, there can be a way to fix it. Suppose the user wants to rename `foo`->`bar` somewhere in...
> you renamed the original declaration, and then the macros will generate derived declarations with new names too, and there is nothing new to do I think there's still something...
Yes!!! My claim is that everything can be done without any annotations, based on the *efficient* diffing only. Please provide counterexamples!