From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 4C3A07EE20 for ; Thu, 15 Nov 2012 09:14:00 +0100 (CET) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of vincent.hugot@gmail.com) identity=pra; client-ip=209.85.161.190; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="vincent.hugot@gmail.com"; x-sender="vincent.hugot@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.national.inria.fr: domain of vincent.hugot@gmail.com designates 209.85.161.190 as permitted sender) identity=mailfrom; client-ip=209.85.161.190; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="vincent.hugot@gmail.com"; x-sender="vincent.hugot@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-gg0-f190.google.com) identity=helo; client-ip=209.85.161.190; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="vincent.hugot@gmail.com"; x-sender="postmaster@mail-gg0-f190.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0CAIKjpFDRVaG+jWdsb2JhbABEw0EIIwEBAQEJCQsJEgYjgh4BAQEDAQEBAVkdBQsLRiMRAQUBHIgRAQwGnUqMM4dlChmBDYh7jzaDJwOIWpwEP4Qy X-IronPort-AV: E=Sophos;i="4.83,255,1352070000"; d="scan'208";a="162534777" Received: from mail-gg0-f190.google.com ([209.85.161.190]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 15 Nov 2012 09:13:59 +0100 Received: by mail-gg0-f190.google.com with SMTP id y1so915510ggc.27 for ; Thu, 15 Nov 2012 00:13:58 -0800 (PST) Received: by 10.49.129.7 with SMTP id ns7mr131277qeb.34.1352967238607; Thu, 15 Nov 2012 00:13:58 -0800 (PST) Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: fa.caml Date: Thu, 15 Nov 2012 00:13:58 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.56.0.99; posting-account=3WL1UQoAAABgBE6rH6M4ppYRvgme6yw0 NNTP-Posting-Host: 90.56.0.99 References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 90.56.0.99 MIME-Version: 1.0 Message-ID: <838ab953-d33f-42d5-a363-050217c1b883@googlegroups.com> From: vincent.hugot@gmail.com To: fa.caml@googlegroups.com Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Validation-by: vincent.hugot@gmail.com Subject: Re: [Caml-list] Preferred layout for new packages Hello, > In my opinion I dislike unit tests in comments, also because you throw > away editor support In the case of qtest2 (iTeML), so far there is syntax highlighting for Emacs (maybe outdated) and Kate. ... but neither of them is in the repository so far... I'll fix that sometime soon. I for one like the (short-)tests-as-comments approach: being near the function, they serve as short specifications, and being comments, they don't alter the compilation process in the least. regards, Vincent Hugot