Top "Naming-conventions" questions

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

Is there any best practices or conventions for ios project structure

I was wondering if there is any best practices or conventions to structure your iOS projects? Thanks.

ios xcode naming-conventions directory-structure conventions
What's the best name for a non-mutating "add" method on an immutable collection?

Sorry for the waffly title - if I could come up with a concise title, I wouldn't have to ask …

language-agnostic naming-conventions list immutability
Java method naming conventions: Too many getters

Why do Java method names use the "get" prefix so extensively? At least in my Java programs there are a …

java naming-conventions getter many-to-many
Why does the STL/Boost C++ coding style differ so much from everyone elses?

I'm a fairly rookie C++ programmer, but in my limited experience with the language, most standard C++ style guidelines (e.…

c++ coding-style naming-conventions
How to use Pascal Casing and Camel Casing for Short Acronyms in C#?

A short acronym is like ID or DB which has only 2 characters. How to name these when pascal casing (for …

c# coding-style naming-conventions camelcasing pascalcasing
Conventions for naming service classes

I'm developing a simple Java application for doing CRUD operations against a database through a RESTful API. It's divided into …

java naming-conventions service-layer
When is "Try" supposed to be used in C# method names?

We were discussing with our coworkers on what it means if the method name starts with "Try". There were the …

c# naming-conventions
Should I include stddef.h or cstddef for size_t

When I want to use size_t in C++, should I include <stddef.h> or <cstddef>? …

c++ namespaces naming-conventions header-files size-t
How do you PEP 8-name a class whose name is an acronym?

I try to adhere to the style guide for Python code (also known as PEP 8). Accordingly, the preferred way to …

python coding-style naming-conventions
When should I use camelCase / Camel Case or underscores in PHP naming?

I've been learning PHP and see there is a lot of variability in how people name stuff. I am keen …

php naming-conventions naming camelcasing