From: Asfand Yar Qazi Date: 2005-02-13T15:09:57+09:00 Subject: Re: utilizing ++ and -- for comments Bertram Scharpf wrote: > Hi, > > Am Sonntag, 13. Feb 2005, 05:45:00 +0900 schrieb David A. Black: > >>On Sun, 13 Feb 2005, Christian Neukirchen wrote: >> >>>"George Moschovitis" writes: >>> >>> >>>>>Why do you guys always propose comment syntaxes of icky languages? >>>> >>>>}:-) >>>> >>>>well, anything instead of =begin, =end!! > > > Commenting out code in C is normally done with `#if 0', > `#endif' what isn't really shorter. > > >>>How about >>> >>><<-COMMENT >>>foozle >>>COMMENT >> >>laptop:~$ ruby -w >>-:1: warning: useless use of a literal in void context > > > Maybe you like the METAFONT way: > > def gobble ( str = nil) end > > gobble { > code_that_was_commented_out > syntax_highlighting_is_applied > } > > gobble %{ > Text that was commented out. > } > > Bertram > MUHAHAHA Ruby had multi-line comments all along :-)