Skip to content

Instantly share code, notes, and snippets.

@jakearchibald
Created April 11, 2011 14:14
Show Gist options
  • Save jakearchibald/913580 to your computer and use it in GitHub Desktop.
Save jakearchibald/913580 to your computer and use it in GitHub Desktop.
var something = 'blah',
whatever = 'spaces, to make the var names line up';
if (something) {
console.log("tabbed, to indicate it's a child of a code block");
}
// But I tend to use 4 spaces when coding in python, as that's what the python
// expert I work with does.
@mathiasbynens
Copy link

+1 Although I make an exception for HTML, where I use single-space indents exclusively. I blame @krijnhoetmer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment