Code Style and Naming
See original GitHub issueWhen we have the first integrated version skorch-api+dataset, we can make a pass over the code to enforce some more consistency and see what style we prefer (beyond just pep8).
Let’s collect open questions for now:
- to indicate a variable that specifies an index/counter, e.g., the index of a trial, should we prefix with
i
(=i_trial
) or withidx
=idx_trial
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
Naming convention (programming) - Wikipedia
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 >Coding best practices
Variable naming is an important aspect in making your code readable. Naming variables follow a simple idea: Create variables that describe their function ......
Read more >Code-style naming rules - .NET - Microsoft Learn
Default naming styles · For classes, structs, enumerations, properties, methods, and events with any accessibility, the default naming style is ...
Read more >Naming Convention — 9 Basic Rules for any Piece of Code
Naming convention should be generic, and as professional as possible, and should not include any cultural slang. Rule #7 — Be Positive.
Read more >Programming Naming Conventions – Camel, Snake, Kebab ...
Style guides are available for more or less all popular programming languages. Here are some of the most commonly used:
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
based on all of this how about:
one word that pops to mind is also “segment” that point more directly to data / signals while annotations refers to the target variable.