Skip to content

Eliminating Semicolon need from Rust compiler #2583

@AnirudhVyas

Description

@AnirudhVyas

I am not too familiar with internals of Rust compilation, but I know that quite a few modern languages have adopted no semi-colons or just newline as a separation mechanism for "expressions" or statements or instructions written.

I do not know why Rust which is a good modern language would burden its users with such a thing - Though it is not much, but it makes code look less elegant and seems repetitive at best. Can we rid off semicolons altogether? How big of change would this be? I know it probably is not on greatest priorities of folks but smaller things like these matter quite a lot in making languages concise in my opinion. Less syntax more convention maybe...

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions