From: "David A. Black" Date: 2007-10-27T21:14:04+09:00 Subject: Re: Fluent programming in Ruby Hi -- On Sat, 27 Oct 2007, Berger, Daniel wrote: >> -----Original Message----- >> From: Brent Roman [mailto:brent@mbari.org] >> Sent: Friday, October 26, 2007 11:22 AM >> To: ruby-core@ruby-lang.org >> Subject: Re: Fluent programming in Ruby >> >> >> I suppose you could have irb require a terminating ';' >> to disambiguate: >> >> irb(main):001:0> puts "hello" >> irb(main):002:1; .upcase >> irb(main):003:1; ; >> HELLO >> >> This feels very cumbersome to me. >> Please don't let it come to this. >> I'd much prefer irb not accept the "fluent ." > > I'd much prefer Ruby not accept the 'fluent' style. It's a style I used > to see in my Perl programming days. I didn't like it then and I don't > like it now. If you're chaining so many methods that you feel compelled > to put them on separate lines, you've probably got larger issues. > > Thumbs down. I agree. I really hate having to double back and second-guess myself when I think I've read a line of code and understood it. David -- Upcoming training by David A. Black/Ruby Power and Light, LLC: * Advancing With Rails, Edison, NJ, November 6-9 * Advancing With Rails, Berlin, Germany, November 19-22 * Intro to Rails, London, UK, December 3-6 (by Skills Matter) See http://www.rubypal.com for details!