Skip to content

Several suggestions #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Aug 1, 2019 · 2 comments
Closed

Several suggestions #482

ghost opened this issue Aug 1, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 1, 2019

1.Why not add a operator as simple as kotlin when, it works great, switch looks a bit stupid. #flutter/flutter#36597 (comment)

2.I hope can remove ;. Just like swift and kotlin. Every time you write a code, you need to add one ; this is obviously very unfriendly to the developer and not elegant enough.

3.Is there a good way to make , disappear as much as possible, because dense symbols may make people feel uncomfortable...

4.Add methods like kotlin extension function, let, with, run, apply, also, they look great and can make the code further concise.

I hope that dart can capture the best in other languages, which will make developers more love dart.

@modulovalue
Copy link

Take a look at the Language Funnel

2 is discussed at #72
4 should be possible with #41

And I believe you'll have to be more precise with 1 and 3, "stupid" and "uncomfortable" are too ambiguous :)

@munificent
Copy link
Member

Hi, I appreciate the suggestions, but a single issue requesting a whole slew of very large language features is not very actionable for us. Many of the features you request have separate issues already with a lot more detail, so it will be more useful to participate on those threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants