jeffknupp / jeffknupp/writing-idiomatic-python

Modulino suggestion

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In section 3.3.2 on the `if __name__ == '__main__'` idiom, note that this concept actually has a name! _modulino_.

As a frequent coder in many different languages, I've slaved at Google trying to search for `equivalent of if __name__ == '__main__' in X` programming language, often with few results. We could make it easier to search for this concept by mentioning its common name, _modulino_, when we refer to this idiom.

E.g.,

http://rosettacode.org/wiki/Modulinos

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.