Top "Coding-style" questions

**DO NOT USE!

Alphabetizing methods in Visual Studio

Is there any sort of plug-in or tool available for Visual Studio 2008 to alphabetize methods? Ideally I'd like a tool …

visual-studio visual-studio-2008 coding-style resharper organization
How do I style selected item in Android ListView?

I am an Android newbie trying to learn the UI side of things and it's doing my head in. Here's …

android listview coding-style selected
Space Before Closing Slash?

I've frequently seen a space preceding the closing slash in XML and HTML tags. The XHTML line break is probably …

html xml xhtml coding-style
Writing copyright information in python code

What is the standard way of writing "copyright information" in python code? Should it be inside docstring or in block …

python coding-style copyright-display
Are there standards for Linux command line switches and arguments?

This is more about the invocation of a program, than any language or parser (though I'm sure choice of parser …

linux coding-style command-line-interface
Using try/catch for preventing app from crashes

I have been working on an Android app which uses try/catch frequently to prevent it from crashing even on …

java android design-patterns coding-style try-catch
Pythonic Style for Multiline List Comprehension

Possible Duplicate: Line continuation for list comprehensions or generator expressions in python What is the the most pythonic way to …

python coding-style list-comprehension
Is it bad to explicitly compare against boolean constants e.g. if (b == false) in Java?

Is it bad to write: if (b == false) //... while (b != true) //... Is it always better to instead write: if (!b) //... …

java coding-style boolean
How should one comment an if-else structure?

Lets say you have: if(condition) { i = 1; } else { i = 2; } and you need to put comments explaining if and else blocks. …

coding-style comments
How to signal "not implemented yet"?

In the initial drafting of a new gem I need to leave some method implementations empty ( to be implemented in …

ruby exception-handling coding-style conventions