Unified variable, function, class, struct declaration #1542
Locked
C-BJ
started this conversation in
Language design
Replies: 2 comments
-
Related issue: #1591 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this in favor of the issue. |
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.
-
let main = fn()->i32 { }
Functions also have types
let animal = class{ };
Such a design can be extended to many aspects
It's just my own strange idea
Beta Was this translation helpful? Give feedback.
All reactions