Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-08 Thread Pat Maddox
I think that's ugly. Better to use syntax highlighting in an editor, imo. Pat "Andrew Premdas" <[EMAIL PROTECTED]> writes: > Original post was somewhat flippant :) > > To be more precise. This style is > > "aligning on the first letter of the second word" > > and basically is treating the fi

Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-06 Thread Andrew Premdas
Original post was somewhat flippant :) To be more precise. This style is "aligning on the first letter of the second word" and basically is treating the first word as a label and the rest as content, and using indentation to differentiate (hopefully clearly) Andrew 2008/12/6 Mikel Lindsaar

Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-06 Thread Mikel Lindsaar
On Thu, Dec 4, 2008 at 1:27 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote: > 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

Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-04 Thread Zach Dennis
On Thu, Dec 4, 2008 at 2:14 PM, Peter Jaros <[EMAIL PROTECTED]> wrote: > On Wed, Dec 3, 2008 at 9:27 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote: >> 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

Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-04 Thread Andrew Premdas
Definitely a matter of taste. A few things 1) syntax highlighting seems to make aligning on the I more preferable 2) And's feel like there nested 3) Maybe its my programmers eye reading and looking for matches rather than reading the scenario as a whole Is a feature prose? Seems closer to poetry

Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-04 Thread Peter Jaros
On Wed, Dec 3, 2008 at 9:27 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote: > 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 a

Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-04 Thread Fernando García Samblas
Andrew Premdas escribió: > 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 > > Reall

Re: [rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-03 Thread Andrew Premdas
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 fon

[rspec-users] Indentation Conventions for Ruby and Cucumber

2008-12-03 Thread Mikel Lindsaar
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