Dart 2 is on the horizon, at this point, what considerations are being made for inclusion?
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
There was mentioned that Future should be moved to core. This would be a breaking change.
What about the existing code, are there plans to add the async keyword on all async methods?
There was mentioned that Future should be moved to core. This would be a breaking change.
What about the existing code, are there plans to add the async keyword on all async methods?
On Tuesday, October 28, 2014 1:24:22 PM UTC+1, Matthew Butler wrote:I'd say current Alpha features are async/await and enums. Async/await is almost beta though now?2.0 need only come if there's a breaking change to the language or to the core libraries. Otherwise features (like those mentioned above) can be added without breaking functionality and are a minor version number increase.If you really want to see the latest and greatest being added to the language, tools and libraries you can always watch the commit change logs. I usually watch it throughout the day and see what interesting tidbits are coming in.Matt
On Monday, October 27, 2014 5:56:48 PM UTC-3, Jacob Goodson wrote:I just like getting the scoop on alpha features =).On Mon, Oct 27, 2014 at 4:09 PM, 'Bob Nystrom' via Dart Misc <mi...@dartlang.org> wrote:On Mon, Oct 27, 2014 at 10:00 AM, Jacob Goodson <submissio...@gmx.com> wrote:Dart 2 is on the horizon, at this point, what considerations are being made for inclusion?
What makes you say it's on the horizon? Our version numbering scheme doesn't by necessity go from 1.9 to 2.0. The natural version after 1.9 is 1.10. :)- bob--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.
On Tue, Oct 28, 2014 at 4:34 PM, Günter Zöchbauer <gzo...@gmail.com> wrote:
>
> I'm curious about how this will be handled. There is a big improvement possible for dev experience with the addition of async+await but if the core packages don't support it, the improvement will be limited.
It makes absolutely no difference to the user whether a function that returns a Future is written in the "classical" way, or using an async function body.
It's not something core packages have to be rewritten to support. They should work fine as currently written.
/L
--
Lasse R.H. Nielsen - l...@google.com
'Faith without judgement merely degrades the spirit divine'
Google Denmark ApS - Frederiksborggade 20B, 1 sal - 1360 København K - Denmark - CVR nr. 28 86 69 84
Just to clarify, the async keyword on a function is not what indicates that the function is async, the fact that the function returns a future is what makes the function async. The only reason to use the async keyword on a function is if you want to use "await" and similar keywords in the function's implementation (its body).
Thanks, great to hear!So when a method/function returns a Future it can be used with await?