Top "Naming" questions

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

How to name variables

What rules do you use to name your variables? Where are single letter vars allowed? How much info do you …

language-agnostic naming conventions
What is the preferred way (better style) to name a namespace in Ruby? Singular or Plural?

What are for you the pros and cons of using: FooLib::Plugins FooLib::Plugins::Bar vs. FooLib::Plugin FooLib::Plugin::…

ruby module namespaces naming-conventions naming
Long variable names

Lets say i have a variable that contains the number of search engine names in a file, what would you …

variables naming
Why is it called "Rust"?

Why is the Rust programming language called "Rust"? Is there anything known about who named it, and why? (I am …

naming rust
naming BEM sub blocks

I'm using a BEM approach to writing html + css. With this syntax: Blocks: block_name Elements: block_name__element_name …

css naming oocss bem
Android activity naming

I'm running into more and more naming clashes between Android activities and other classes. I was wondering if you could …

android android-activity naming-conventions naming
Is the word "Helper" in a class name a code smell?

We seems to be abstracting a lot of logic way from web pages and creating "helper" classes. Sadly, these classes …

class language-agnostic helper naming
What is a request-response pair called?

For example in HTTP you send a request and receive a response; is there a noun that describes that request-response …

http naming
Why do function prototypes include parameter names when they're not required?

I always thought that a function prototype must contain the parameters of the function and their names. However, I just …

c++ naming function-prototypes
What does "f" stand for in C standard library function names?

What does f stand for in the name of C standard library functions? I have noticed that a lot of …

c naming libc