caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Allsopp <dra-news@metastack.com>
To: Philippe Wang <mail@philippewang.info>, Lauri Alanko <la@iki.fi>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: RE: [Caml-list] Capitalized source file names
Date: Mon, 27 Dec 2010 09:44:32 +0000	[thread overview]
Message-ID: <E51C5B015DBD1348A1D85763337FB6D9490669A3@Remus.metastack.local> (raw)
In-Reply-To: <AANLkTik2f6R6ATOpUydAv9ud+KHjNdLdwE=_x+HU-4h_@mail.gmail.com>

Philippe Wang wrote:
> > 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'd always assumed it was a UNIX-y "thing" - people don't tend to use capitalised filenames. Coming from a more Windows-background, when I started OCaml I just intuitively used capital letters for filenames (as that's more natural there anyway - and tab completion is of course case-agnostic so I never have to press shift!)

> I believe OCaml will never force programmers to give capitalized source
> file names (I might be wrong).

I think that the team's preferences can be seen by the number of capitalised ML source files in the OCaml sources tree ;o)


David 



  reply	other threads:[~2010-12-27  9:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-26 20:37 Lauri Alanko
2010-12-26 21:09 ` Philippe Wang
2010-12-27  9:44   ` David Allsopp [this message]
2010-12-26 21:26 ` Lukasz Stafiniak
2010-12-27  9:44   ` David Allsopp
2010-12-30 12:52     ` Florent Ouchet
2010-12-26 23:21 ` [Caml-list] " Sylvain Le Gall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E51C5B015DBD1348A1D85763337FB6D9490669A3@Remus.metastack.local \
    --to=dra-news@metastack.com \
    --cc=caml-list@inria.fr \
    --cc=la@iki.fi \
    --cc=mail@philippewang.info \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).