From: deepak kannan Date: 2010-12-28T16:03:36+09:00 Subject: [ruby-core:33952] Re: Multi-line comments --0016363b929208c4280498730d22 Content-Type: text/plain; charset=ISO-8859-1 hi, only thing to be aware of is that, "=begin" and "=end" comments are processed by rdoc. Just something to be aware of. I use emacs and it is pretty easy to comment and uncomment multiple lines by 'M-x comment-or-uncomment-region' on an unrelated note, i have used common-lisp a little and i like their convention of comment styles. http://www.labri.fr/perso/strandh/Teaching/MTP/Common/Strandh-Tutorial/indentation.html(under number of semicolons) interestingly clojure does not have this, but then i have not used clojure http://faustus.webatu.com/clj-quick-ref.html#comments-and-documen rather than multiline comments, i would like something like comment-conventions like common-lisp also YARD is pretty interesting. cheers, deepak On Tue, Dec 28, 2010 at 9:24 AM, Joshua Ballanco wrote: > On Mon, Dec 27, 2010 at 8:55 PM, Rodrigo Rosenfeld Rosas < > rr.rosas@gmail.com> wrote: > >> I was always curious about the reasoning Ruby doesn't support multi-line >> comments. Does anyone knows the reason? >> >> I remember that the only thing I really didn't like when I first read >> about Ruby was the absence of multi-line comments and named parameters. The >> last one will be supported in Ruby 2.0 according to Matz (although I still >> don't know how will the syntax be), but I still don't know why multi-line >> comments are not supported in Ruby. >> >> Please, could someone explain me why supporting multi-line comments is a >> bad thing? >> > > Do "=begin" and "=end" not work for you? > --0016363b929208c4280498730d22 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable hi,
only thing to be aware of is that, "=3Dbegin" and "= =3Dend" comments are processed by rdoc. Just something to be aware of.=
I use emacs and it is pretty easy to comment and uncomment multiple lin= es by 'M-x comment-or-uncomment-region'

on an unrelated note, i have used common-lisp a little and i like their= convention of comment styles.
http://www.labri= .fr/perso/strandh/Teaching/MTP/Common/Strandh-Tutorial/indentation.html= (under number of semicolons)
interestingly clojure does not have this, but then i have not used clojure<= br>http://faustus.webatu.com/clj-quick-ref.html#comments-and-documen=

rather than multiline comments, i would like something like comment-con= ventions like common-lisp
also YARD is pretty interesting.

cheers= ,
deepak

On Tue, Dec 28, 2010 at 9:24 = AM, Joshua Ballanco <jballanc@gmail.com> wrote:
On Mon, Dec 27, 2010 at 8:55 PM= , Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com> wrote:
=A0I was always curious about the reasoning Ruby doesn't support multi-= line comments. Does anyone knows the reason?

I remember that the only thing I really didn't like when I first read a= bout Ruby was the absence of multi-line comments and named parameters. The = last one will be supported in Ruby 2.0 according to Matz (although I still = don't know how will the syntax be), but I still don't know why mult= i-line comments are not supported in Ruby.

Please, could someone explain me why supporting multi-line comments is a ba= d thing?

Do "=3Dbegin&= quot; and "=3Dend" not work for you?=A0

--0016363b929208c4280498730d22--