Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] single-line comment request
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-04-08 (15:15)
From: Brian Hurt <brian.hurt@q...>
Subject: Re: [Caml-list] single-line comment request

Personally, I don't find having to type three extra characters (space
asterix close-paren) to end a comment to be that big of a burden.  If a
comment is long enough that three extra characters pushes it over a line
length, then the comment is long enough to deserve it's own line.  And if
the burden of typing the three extra characters is enough that you stop
writting (as many) comments, well, you have other problems IMHO.

I am not seriously opposed to this, I just don't see the value.


On Tue, 8 Apr 2003, Nickolay Semyonov-Kolchin wrote:

> Hi,
> 	I really want single-line comment in Ocaml. Peter Weis (sorry, if I typed 
> name wrong) several time ago said that "there is no suitable character for 
> single line comment". Why don't use double '#'? I.e. '##'. 
> ## Single line comment
> let _ = ## Another single line comment
> ...
> Nickolay
> -------------------
> To unsubscribe, mail Archives:
> Bug reports: FAQ:
> Beginner's list:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: