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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 092D97EFC0 for ; Tue, 5 Jan 2016 10:19:03 +0100 (CET) X-IronPort-AV: E=Sophos;i="5.20,524,1444687200"; d="scan'208";a="195634846" Received: from meleze.ens.fr (HELO [129.199.99.114]) ([129.199.99.114]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 05 Jan 2016 10:18:53 +0100 To: caml-list@inria.fr References: <20160105091224.GA10087@pl-59055.rocqadm.inria.fr> From: Francois Berenger Message-ID: <568B8A7C.60904@inria.fr> Date: Tue, 5 Jan 2016 10:18:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160105091224.GA10087@pl-59055.rocqadm.inria.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Caml-list] Coding style: mixing tabs and spaces in indentation On 01/05/2016 10:12 AM, Sébastien Hinderer wrote: > Dear all, > > I am wondering whether there are some guidelines that have been proposed > regarding the way OCaml code should be presented? > > More specifically: am I correct that it is considered not such a good > practise to mix tabs and spaces in code indentation? And if so, are > there objective reasons for that? There are famous hackers who promote the spaces only indentation technique: https://www.jwz.org/doc/tabs-vs-spaces.html > It seems Emacs is configured to do that (mixing tabs and spaces) by > default, can anybody confirm? > > Thanks a lot for any hint! > > Sébastien. -- Regards, Francois. "When in doubt, use more types"