From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA20672; Tue, 8 Apr 2003 19:39:27 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA20666 for ; Tue, 8 Apr 2003 19:39:25 +0200 (MET DST) Received: from epexch01.qlogic.org ([63.170.40.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h38HdO928285 for ; Tue, 8 Apr 2003 19:39:24 +0200 (MET DST) Received: from epmailtmp.qlogic.org ([10.20.33.254]) by epexch01.qlogic.org with Microsoft SMTPSVC(5.0.2195.5329); Tue, 8 Apr 2003 12:39:37 -0500 Received: from [10.20.33.146] ([10.20.33.146]) by epmailtmp.qlogic.org with Microsoft SMTPSVC(5.0.2195.4905); Tue, 8 Apr 2003 12:39:36 -0500 Date: Tue, 8 Apr 2003 12:42:57 -0500 (CDT) From: Brian Hurt X-X-Sender: Reply-To: Brian Hurt To: Nickolay Semyonov-Kolchin cc: Brian Hurt , Subject: Re: [Caml-list] single-line comment request In-Reply-To: <200304082038.42129.snob@snob.spb.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 08 Apr 2003 17:39:36.0888 (UTC) FILETIME=[D3043B80:01C2FDF5] X-Spam: no; 0.00; qlogic:01 caml-list:01 nickolay:01 clue:01 enforced:01 ocaml's:01 ocaml:01 preprocessor:02 loads:03 coding:03 wrote:03 08,:03 ugly:05 mean:05 obvious:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 8 Apr 2003, Nickolay Semyonov-Kolchin wrote: > On Tuesday 08 April 2003 21:08, Brian Hurt wrote: > > > > > > > > I am not seriously opposed to this, I just don't see the value. > > > > > > 1) This extension won't broke existing source code. Currently, we can't > > > use '##' anywhere in Ocaml. > > > > Yep. Checked that before posting. It does mean you can't run your ocaml > > code through the C preprocessor- although I have no clue why you'd want to > > do that. > > :) > Run code through prepreprocessor, for removing '##' before running through > C-preprocessor. Too bad that ## is the C preprocessor token-pasting symbol. Otherwise that'd work. > > If I'm working alone, this works. If I'm working with other people, or on > > other people's code, this may not be an option. > > > > Coding standards will help. Ever been on a coding standards committee? I have. Loads of fun. Seriously, coding standards are a really good idea- when they can be enforced. But there are lots of situations where they can't be. One obvious example is open source. > > Actually, personally I think ## is ugly, in that it looks entirely unlike > > Ocaml's current comment-start sequence of (*. At least with C++, /* and > > // are similiar *visually*. > > Setup color-scheme in your favourite editor to make comments similar > *visually*. The language architects version of planting vines. On the other hand, this complaint can be fixed simply by changing the keystroke combination, to say (| or (/ (the second being the obvious reference to C++'s /* and //). > > P.S. > This moved fast from technical field to religious. > I must have missed the technical phase of the conversation, then. :-) Brian ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners