Top "Naming" questions

A general purpose tag to cover anything concerning naming, be it files, programming constructs, data etc.

Is using "is" to name Boolean variables bad practice?

Is naming Booleans that start with "is" bad practice now? My manager believes that "isAnything" is outdated and poor practice. …

variables boolean naming
Reserved words as names or identifiers

Is there any tricky way to use Java reserved words as variable, method, class, interface, package, or enum constant names?

java naming reserved-words
What does .dist used as an extension of some source code file mean?

Examples in the Zend tutorial: phpunit.xml.dist local.php.dist TestConfig.php.dist

naming-conventions naming
How to access the NUnit test name programmatically?

Is there some global state somewhere that I can access the currently-running test name? I have tests which output files …

nunit naming
C# .NET instance variable naming convention?

I'm doing a small internship at a business and in their code I find classes that are named like this: …

c# .net naming-conventions naming
Can you start a class name with a numeric digit?

In C++, is it possible to start a class name with a digit? For example, template <class T> …

c++ class naming
Naming: solution, projects, namespaces and assemblies

I'm working on naming guidelines for solutions, projects, their default namespaces and assemblies (Visual Studio). Now it looks like that: …

c# .net visual-studio naming
What is the reason function names are prefixed with an underscore by the compiler?

When I see the assembly code of a C app, like this: emacs hello.c clang -S -O hello.c …

c function assembly naming compilation
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
Why is one_of() called that?

Why is dplyr::one_of() called that? All the other select_helpers names make sense to me, so I'm wondering …

r naming tidyverse