Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #4447 > unrolled thread
| Started by | Christopher Dicely <cmdicely@gmail.com> |
|---|---|
| First post | 2011-05-12 19:24 -0500 |
| Last post | 2011-05-12 19:53 -0500 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.ruby
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: indenting "end" Christopher Dicely <cmdicely@gmail.com> - 2011-05-12 19:24 -0500
Re: indenting "end" Johnny Morrice <spoon@killersmurf.com> - 2011-05-12 19:53 -0500
| From | Christopher Dicely <cmdicely@gmail.com> |
|---|---|
| Date | 2011-05-12 19:24 -0500 |
| Subject | Re: indenting "end" |
| Message-ID | <BANLkTin8CkkZobdn0x7EAVx=CTQ7MLrFxg@mail.gmail.com> |
On Thu, May 12, 2011 at 1:51 PM, Chad Perrin <code@apotheon.net> wrote: > I've been seeing a lot of this lately: > > def foo(bar) > puts bar > end > > For me, at least, this tends to make code kind of difficult to read. > This is what I've always seen in Ruby code before recent trends: > > def foo(bar) > puts bar > end Is this is "real" code (e.g., source of gems, etc.) or in snippets? If its cut and pasted from, e.g., irb with autoindent it will look like that. I hope no one actually does real code that way...
[toc] | [next] | [standalone]
| From | Johnny Morrice <spoon@killersmurf.com> |
|---|---|
| Date | 2011-05-12 19:53 -0500 |
| Message-ID | <20110513015308.5e21f54f@killersmurf.com> |
| In reply to | #4447 |
> > def foo(bar) > > puts bar > > end > Is this is "real" code (e.g., source of gems, etc.) or in snippets? If > its cut and pasted from, e.g., irb with autoindent it will look like > that. Agreed. Cut n paste is a bitch that will rape your syntax. It has no mercy. Trust it not. Opining that I'd postulate these probing stabbings may be unwarranted. It does look pythony though. Is that were it's coming from?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.ruby
csiph-web