Top "Naming-conventions" questions

Naming conventions refer to general rules governing names assigned to programming constructs such as variables and methods.

What are some examples of commonly used practices for naming git branches?

I've been using a local git repository interacting with my group's CVS repository for several months, now. I've made an …

git naming-conventions branch
Database, Table and Column Naming Conventions?

Whenever I design a database, I always wonder if there is a best way of naming an item in my …

database database-design language-agnostic naming-conventions
What is the naming convention in Python for variable and function names?

Coming from a C# background the naming convention for variables and method names are usually either camelCase or PascalCase: // C# …

python variables function naming-conventions
What is the meaning of single and double underscore before an object name?

Can someone please explain the exact meaning of having leading underscores before an object's name in Python, and the difference …

python oop naming-conventions identifier
Table Naming Dilemma: Singular vs. Plural Names

Academia has it that table names should be the singular of the entity that they store attributes of. I dislike …

sql sql-server naming-conventions
Can someone explain the dollar sign in Javascript?

The code in question is here: var $item = $(this).parent().parent().find('input'); What is the purpose of the dollar …

javascript naming-conventions
Unit test naming best practices

What are the best practices for naming unit test classes and test methods? This was discussed on SO before, at …

unit-testing naming-conventions
What is the purpose of the single underscore "_" variable in Python?

What is the meaning of _ after for in this code? if tbh.bag: n = 0 for _ in tbh.bag.atom_set(): …

python variables naming-conventions metasyntactic-variable
Maven artifact and groupId naming

I'm currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to …

maven-2 naming-conventions
What are the rules about using an underscore in a C++ identifier?

It's common in C++ to name member variables with some kind of prefix to denote the fact that they're member …

c++ naming-conventions standards c++-faq