Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Is there a good source of best practices, programming standards and coding styles for different languages, specifically Ruby and Javascript?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

For Ruby you should have a look at the answer in the following Stack Overflow question. For Javascript there is the following question on SO. You might also find Google JavaScript Style Guide useful.

share|improve this answer
    
+1 Google JavaScript Guide is really good. –  Oliver Weiler Apr 17 '12 at 14:58
    
I eluded to the Google guide, but there are other guides for all languages. It's useless to just list a couple of the specific URLs. –  Spencer Kormos Apr 17 '12 at 15:58
add comment

Not to be Captain Obvious, but have you tried Google?

Searching "[language] style guide" returned a number of results from good resources like Google (JS), GitHub(Ruby), Oracle formerly Sun(Java).

Otherwise, there's not going to be one central resource for all languages. You'd have to find resources from a place that either made the language popular or mainstream (as in the examples above).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.