I think the main "friction“ here is the mixture of “explicit block-scoped” and “implicit function-scoped” declarations in Mojo functions. This adds some complexity to the language. Having just one declaration style would make Mojo less complex and easier to read and understand.
FYI
:
4 Likes
May I suggest to update the Mojo skills to proactively include this change, if not already done?
Great suggestion, we’ll try to call this out in there.
1 Like
Just pushed an update to the skills that will go out with the next release
4 Likes