let
, var
, fn
-> let
?
#1855
Replies: 3 comments 12 replies
-
@christianparpart I've edited your post. Please use gender-neutral language such as "everyone", "folks", or "friends" when addressing the community as a whole. Not everyone here is a "guy". Thanks! |
Beta Was this translation helpful? Give feedback.
-
Note, what you're proposing is already discussed on #1591 |
Beta Was this translation helpful? Give feedback.
-
It's now quite some time ago. Apparently no change in the language with respect to that. I wonder why? We just locally talked about the big hopes of Carbon among other devs and realized that So what is your stance on this one? Many thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
thanks for the great project at first. I am having some concerns and confusion about the differenciation of
let
vsvar
sometimes. While I understand (I hope) thatvar
is used for things that have an address, to me this feels like way to many different ways of declaring a symbol. This is why I took the change listfn
to my confusion-list. What I really appreciate about F# language is that there's onlylet
for declaring by default immutable but also mutable variables as well as (!) functions. I wonder if it might make sense to (since the language claim is to be "simple") only have one keyword for declaring symbols and then probably have a modifier to allow access to its address.Why could just a proposal be a bad one?
To add some imaginary example:
Beta Was this translation helpful? Give feedback.
All reactions