Skip to content

Instantly share code, notes, and snippets.

@ticky
Last active August 29, 2015 14:26
Show Gist options
  • Save ticky/59d188e61d6a61aeae74 to your computer and use it in GitHub Desktop.
Save ticky/59d188e61d6a61aeae74 to your computer and use it in GitHub Desktop.
Which of the following code styles do you prefer? Fill in the quick-n-dirty survey at https://docs.google.com/forms/d/15IclgXrAhMS5d8jihzHBfUiMYYF8JAxvZTzFl9GTh-E/viewform
const n = true
? 'YAY'
: 'never';
blam
.boom()
.echo(n);
const o = {
gist: true,
pastebin: false,
};
const o = [
'foo',
'bar',
'baz',
];
const n = true ?
'YAY' :
'never';
blam.
boom().
echo(n);
const o = {
gist: true,
pastebin: false,
};
const a = [
'foo',
'bar',
'baz',
];
const n = true
? 'YAY'
: 'never';
blam
.boom()
.echo(n);
const o = {
gist: true
,pastebin: false
};
const o = [
'foo'
,'bar'
,'baz'
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment