Top "Conventions" questions

What is the advantage of the 'src/main/java'' convention?

I've noticed that a lot of projects have the following structure: Project-A bin lib src main java RootLevelPackageClass.java I …

java coding-style conventions
Standard File Naming Conventions in Ruby

For a file containing the given class, SomeCoolClass, what would be the proper or standard filename? 1. somecoolclass.rb 2. some_cool_…

ruby file naming-conventions conventions
Conventions for app.js, index.js, and server.js in node.js?

In node.js, it seems I run into the same 3 filenames to describe the main entry point to an app: …

node.js conventions
Why would font names need quotes?

As far as I know, one needs to use double or single quotes for fonts if they contain spaces, like: …

css fonts conventions
Lua Semicolon Conventions

I was wondering if there is a general convention for the usage of semicolons in Lua, and if so, where/…

lua conventions
Folder naming convention for python projects

What is the naming convention in python community to set names for project folders and subfolders? my-great-python-project my_great_python_…

python naming conventions
Ruby: Boolean attribute naming convention and use

Learning ruby. I'm under the impression that boolean attributes should be named as follows: my_boolean_attribute? However, I get …

ruby attributes conventions boolean-expression
Where is the JavaBean property naming convention defined?

The Spring Framework API doc says: The convention used is to return the uncapitalized short name of the Class, according …

java conventions javabeans
C++, do private functions really need to be in the header file?

I have always thought of header files as a sort of 'public interface' describing a class, in which case it …

c++ standards conventions
Should arrays be used in C++?

Since std::list and std::vector exist, is there a reason to use traditional C arrays in C++, or should …

c++ arrays conventions