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
-
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