On Thu, Nov 27, 2008 at 4:28 PM, Aslak Hellesøy [email protected]wrote:
When (if) this thread ends, let’s start a discussion about indentation
conventions!
Oh… let the pleasure be mine!.. and why wait?
EVERYONE knows that the only way to indent ruby code is 2 plain
spaces.
Tabs are known to be the source of all evil and 4 spaces obviously
wastes
space and bandwidth…
Anyone else who says otherwise is obviously and irrefutably misguided
Oh but cucumber features so want to be idented on the I
Scenario: Anonymous user can not duplicate a un-activated account
Given I am an anonymous user
And a registered user Fred exists
When I signup as Fred
Then I should see an error
Really need to view above with a monspaced font - if its not coming out
that
way in your mail reader.
Oh but cucumber features so want to be idented on the I
Scenario: Anonymous user can not duplicate a un-activated account
Given I am an anonymous user
And a registered user Fred exists
When I signup as Fred
Then I should see an error
Really need to view above with a monspaced font - if its not coming
out that way in your mail reader.
+0.66
I like to indent this way, but within a given, when or then block:
Scenario: Anonymous user can not duplicate a un-activated account
Given I am an anonymous user
And a registered user Fred exists
When I signup as Fred
Then I should see an error
Oh but cucumber features so want to be idented on the I
Scenario: Anonymous user can not duplicate a un-activated account
Given I am an anonymous user
And a registered user Fred exists
When I signup as Fred
Then I should see an error
I have to disagree. I find the jagged margin looks messy. I would
never indent other prose this way, so why would I indent my features
this way? They’re not code, they’re prose. They’re not written to be
parsed, they’re written to be read like a story.
never indent other prose this way, so why would I indent my features
this way? They’re not code, they’re prose. They’re not written to be
parsed, they’re written to be read like a story.