python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Proper naming conventions for a dictionary in Python
After having someone read through my code, I noticed they got confused by the name of a variable containing a dictionary. The variable was named after the purpose of the keys in the dictionary, not th...
R Z
Votes: 0
Answers: 3
Single underscore as unused variable name in function signature?
I am building an interface in C which defines some function types with predefined signatures. Some implementations of this interface may not use some of the passed variables.
Is it a good / reasonable...
user3758232
Votes: 0
Answers: 0
How to implement a custom Rubocop rule for checking git branch naming convention?
For example, I need to check the correctness of git branch naming - it should contain ticket ID similarly to this:
module Rails
class GitBranchName < RuboCop::Cop::Cop
MSG = "Use correct...
Oleksandr Bratashov
Votes: 0
Answers: 2
What the standard/conventional extension for a one data per line file on Windows? (list)
I'm used to name list files (one item per line) as *.lst under Linux.
Example.:
\data.lst
entry1
entry2
entry3
...
entryN
However i am currently working on Windows with Visual Studio, and *.lst file ...
LMeirelles
Votes: 0
Answers: 1