Skip to content

void or not to void #5

@italomaia

Description

@italomaia

int main(void)

The following line would work the same without the void parameter. I do agree that explicit is better, but putting an optional parameter there might confuse newcommers (developers without C background would understand it, but would probably wonder about it).
What about introducing void later or adding some extra explanation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions