From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id oBQL9jtv004536 for ; Sun, 26 Dec 2010 22:09:45 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsAAG8+F01KfVK2kGdsb2JhbACkKwgVAQEBAQkJDAcRBCCkEYwPg02JBQEBAwWFRQSHF4NtiUE X-IronPort-AV: E=Sophos;i="4.60,232,1291590000"; d="scan'208";a="93210309" Received: from mail-wy0-f182.google.com ([74.125.82.182]) by mail1-smtp-roc.national.inria.fr with ESMTP; 26 Dec 2010 22:09:23 +0100 Received: by wyf19 with SMTP id 19so8173469wyf.27 for ; Sun, 26 Dec 2010 13:09:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=ir83KlENO5QmFd2BtdYTh7qW16Z2t6ajtv989HCOye0=; b=mHrbqn5Bji1jKAjRHm5ka62MWvzEwlq/nlwAmRyjsVardJB2/xNV4WamboeKtOgG2G u+xHtNlfQ9FFAYXYjg6QLYu70PSF23cxq7o48hROT4oWmkzz0e0EEVzLQYZecn8s6OyV JrB734t8uniYwFUaHlTeLepWBCukc4KB+/JpI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=YmKE5MJgq9vSpatVLlcVeBTmh1zNKZ0MEW19sLHiDjWoGNGs9NwPYsOVqjZZ9qr3Vh fO5VcLtKYPfhm4i4srCxeRPMYL2IWy9fIqJ2IEpoScnvfl/my2ja01pw28ezVYm1TDOL IOz/JuSK4i+npYeMNp8LDdXyogJdNcilaOgv0= MIME-Version: 1.0 Received: by 10.227.146.133 with SMTP id h5mr6920207wbv.42.1293397762828; Sun, 26 Dec 2010 13:09:22 -0800 (PST) Sender: philippe.wang.lists@gmail.com Received: by 10.227.196.194 with HTTP; Sun, 26 Dec 2010 13:09:22 -0800 (PST) In-Reply-To: <20101226203711.GA10137@melkinpaasi.cs.helsinki.fi> References: <20101226203711.GA10137@melkinpaasi.cs.helsinki.fi> Date: Sun, 26 Dec 2010 22:09:22 +0100 X-Google-Sender-Auth: 9umU7BQAFRkNmmO7Uxn7X3bzySE Message-ID: From: Philippe Wang To: Lauri Alanko Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] Capitalized source file names > As things stand, is there any reason (besides uniformity with existing > code) why one shouldn't use capitalized source file names nowadays? I feel like saying that people tend to be lazy, especially ml-programmers ;-) So, unless they are forced to press 'shift' key when giving a name to a new file, they usually won't. I believe OCaml will never force programmers to give capitalized source file names (I might be wrong). The only way I see for that to happen would be to provide a new Caml-frontend, which would force that. But then, nothing guarantees that it'll be used... Oh, another idea: ask **teachers** to teach this practice! :-) (I'll try to teach this practice if I teach Caml again, which might happen) -- Philippe Wang mail@philippewang.info On Sun, Dec 26, 2010 at 9:37 PM, Lauri Alanko wrote: > Traditionally, OCaml source files have been named to start with > lowercase letters, even though they define modules whose names begin > with uppercase letters: the definition of module FooBar goes in > fooBar.ml. This has always seemed unintuitive to me. > > I'm not sure if this convention has been forced in the past, but > nowadays the entire toolchain seems to support capitalized filenames: > you can put the definition of FooBar in FooBar.ml, and everything just > works. This seems much more natural. > > As things stand, is there any reason (besides uniformity with existing > code) why one shouldn't use capitalized source file names nowadays? > > > Lauri >