Type Syntax #2346
fab918
started this conversation in
Language design
Type Syntax
#2346
Replies: 1 comment
-
See here for an explanation and links to more details. |
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.
-
Hi, I was looking at the syntax and was very surprised at the use of parenthesis for types, the syntax feel a bit heavy to look at. Kotlin, TS and C++ use <> instead. I have not found any discussion on this subject (I hope I searched well).
It seems strange to break the habits, especially since the function names are capitalised, it gives the impression of a function call.
Before:
After
Beta Was this translation helpful? Give feedback.
All reactions