From: Dave Burt Date: 2005-02-12T23:24:59+09:00 Subject: Re: utilizing ++ and -- for comments "Brian Mitchell" wrote in message news:fcfe4170050212060072e48cdb@mail.gmail.com... > On Sat, 12 Feb 2005 11:47:03 +0900, "Pe�a, Botp" > wrote: >> Since ++ and -- wont see the light of day in ruby, can we use it for >> comment >> notation? >> >> define: >> 1. -- equal to # comment >> 2. --- (or more dashes) equal to =begin >> next --- (or more) equal to =end >> 3. ++ same comment as #1 above >> 4. +++ same comment as #2 above >> > > I would like to see a multi-line that can nest other multi-line > comments. useful for quick and dirty code changes. > > --- Disable this entire section > --- My other section that holds > important documentation. > --- > code ... ... > --- +++ Disable this section --- My other section that holds important documentation. --- code ... ... +++