Convention for name of variables to represent numbers
See original GitHub issueThis issue is partially related to https://github.com/chainer/chainer/pull/7871. In Chainer, there are some ways to represent numbers.
n_{prural noun}
: https://github.com/chainer/chainer/blob/master/chainer/links/rnn/n_step_lstm.py#L119n_{singular noun}
: https://github.com/chainer/chainer/blob/master/chainer/datasets/sub_dataset.py#L233num_{prural noun}
: https://github.com/chainer/chainer/blob/master/chainer/training/extensions/_snapshot.py#L77
(It seems most examples using n_{prural_noun}
.)
I think it would be better to unify the way for them. (Determining the policy would help to keep consistency, I think.)
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (12 by maintainers)
Top Results From Across the Web
Naming convention (programming)
In computer programming, a naming convention is a set of rules for choosing the character sequence to be used for identifiers which denote...
Read more >Naming conventions for "number of foos" variables [closed]
I go for fooCount because it is straightforward, and I think the word "count" is the shortest and the best that describes it,...
Read more >On Naming Variables…
Photo by Kristian Strand on Unsplash. I used to think that variable names must be as long as possible to be expressive as...
Read more >Data Basics - Naming Variables
The names of variables in the C++ language are referred to as identifiers. The best naming convention is to choose a variable name...
Read more >A guide to common variable naming conventions
Use a consistent set of naming conventions when you write code and your software will be easier to manage, debug, troubleshoot and maintain....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@himkt I have not been able to contribute from about a week or so due to a laptop issue. I am still fixing my laptop :sweatsmile: . I would be happy if you could take this up and thanks for keeping up with me despite me not able to contribute!
Cool 👍 . Just ping here when the policy is decided.