More intuitive way to initialize properties to the same value #7688
Unanswered
igristov
asked this question in
Language Ideas
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Havin a class
It would be great to have the possibility to initialize it like this:
or like this:
instead of existing way:
or worse:
If not in the language then maybe the compiler can support such syntax?
Beta Was this translation helpful? Give feedback.
All reactions