Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconsidering Implicit Return Types #1420

Open
snnsnn opened this issue Jan 3, 2025 · 0 comments
Open

Reconsidering Implicit Return Types #1420

snnsnn opened this issue Jan 3, 2025 · 0 comments
Labels

Comments

@snnsnn
Copy link

snnsnn commented Jan 3, 2025

Hi, seeing the issue #22, it’s clear that you value the experiences of seasoned language designers, particularly when reflecting on what they would do differently if they could start over. In this context, I’d like to mention a notable perspective from Nico Matsakis, a key figure in the Rust community.

I remember Nico expressing his thoughts about changing how implicit returns work—or maybe it was about making semicolons not significant. While I don’t recall the exact details of his critique, his reflection on the issue stayed with me. I searched for this video and recall it being a one-on-one interview—possibly one from the async interview series. It might be worthwhile to explore these interviews further or reach out to Nico directly to ask about the specific challenges or drawbacks he encountered.

I wanted to raise a point about implicit return types in Moonbit, in the spirit of benefiting from the collective experiences of designing programming languages. The design decisions of other languages can often provide valuable insights and help avoid potential pitfalls.

With the thoughtful approach evident in Moonbit’s design decisions and by drawing inspiration from Rust’s journey, I am confident Moonbit is poised to become a promising and influential language.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants