Top "Conventions" questions

Objective-C: Assertion vs. Exception vs. Error

In Cocoa, when should I use NSAssert, NSException, NSError? Here's what I've been thinking: NSAssert - When creating any client …

objective-c cocoa conventions
What's the convention for java package names without a domain association?

I can't find a Q/A on SO that answers my exact question, so I figure I'd post it and …

java android naming-conventions package conventions
Where do you put your Rack middleware files and requires?

I'm in the process of refactoring some logic built into a Rails application into middleware, and one annoyance I've run …

ruby-on-rails conventions rack middleware
When to use ellipsis after menu items

In pretty much all applications that have a menu bar, some of the items have an ellipsis (...) after them, and …

user-interface menu standards conventions
maven project: SWT 3.5 dependency: any official public repo?

Well, in short, I may need to grab new SWT version instead of 3.3 we're using for now. The project now …

java maven swt conventions
Is there a java convention for packaging enums?

Is there a Java convention for packaging enums? if not is there a best practice? Should I put them all …

java packages conventions
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
Fail vs. raise in Ruby : Should we really believe the style guide?

Ruby offers two possibilities to cause an exception programmatically: raise and fail, both being Kernel methods. According to the documents, …

ruby exception coding-style conventions
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
Best practices for writing a programming language parser

Are there any best practices that I should follow while writing a parser?

c++ parsing programming-languages conventions