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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 007A47FA5C for ; Tue, 21 Jun 2016 17:54:09 +0200 (CEST) IronPort-PHdr: 9a23:kUg7eBeJiQs3g1WrmMCfJcshlGMj4u6mDksu8pMizoh2WeGdxc6+ZR7h7PlgxGXEQZ/co6odzbGH6+a4ASddsN6oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLHqvcWLKFgZzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3GePEzRLlcSTAnKHwd5cvxtBCFQxHcyGEbVzA6mwRJD0DgwTfGZLq55if/u+xhwiSyOczwUKBxVy6r6axmDhjyh3FUZHYC7GjLh5ko3+pgqxW7qkknzg== Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=dmentre@linux-france.org; spf=None smtp.mailfrom=dmentre@linux-france.org; spf=None smtp.helo=postmaster@tempura.bentobako.org Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of dmentre@linux-france.org) identity=pra; client-ip=94.23.39.64; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dmentre@linux-france.org"; x-sender="dmentre@linux-france.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of dmentre@linux-france.org) identity=mailfrom; client-ip=94.23.39.64; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dmentre@linux-france.org"; x-sender="dmentre@linux-france.org"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@tempura.bentobako.org) identity=helo; client-ip=94.23.39.64; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dmentre@linux-france.org"; x-sender="postmaster@tempura.bentobako.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BeDQCoYmlX/0AnF15dgz6BAbtJgXqGFwKBNjoSAQEBAQEBAQFkJ0EBBA0BgV2CGwIEIw8BQBYlAiYCAh84EwgBAYgwAbEzkFgxgQGFJoF3CIdagjWCWgEEmHkXl1uFXWKPFiUKJYIIHBeBN4MjhS2CZAEBAQ X-IPAS-Result: A0BeDQCoYmlX/0AnF15dgz6BAbtJgXqGFwKBNjoSAQEBAQEBAQFkJ0EBBA0BgV2CGwIEIw8BQBYlAiYCAh84EwgBAYgwAbEzkFgxgQGFJoF3CIdagjWCWgEEmHkXl1uFXWKPFiUKJYIIHBeBN4MjhS2CZAEBAQ X-IronPort-AV: E=Sophos;i="5.26,504,1459807200"; d="scan'208";a="182033128" Received: from tempura.bentobako.org ([94.23.39.64]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jun 2016 17:54:09 +0200 Received: from [10.226.206.108] (unknown [95.128.149.202]) by tempura.bentobako.org (Postfix) with ESMTPSA id 09C9798C for ; Tue, 21 Jun 2016 17:54:08 +0200 (CEST) To: caml-list@inria.fr References: <5E818FB5-6908-4E29-838E-C6A2836F60CE@inria.fr> From: David MENTRE Message-ID: <25b304ab-c9ea-ff68-2059-68c93683b1a2@linux-france.org> Date: Tue, 21 Jun 2016 17:54:07 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: [Caml-list] About "precise (formal) things that can be said about properties of certain interfaces" Hello, Le 21/06/2016 à 17:48, Gabriel Scherer a écrit : > (1) Discussing function names or seemingly-minor API details is not > necessarily an exercise in subjectivity. There are precise (formal) > things that can be said about properties of certain interfaces compared > to others, as we discussed with Daniel Bünzli in a memorable past > discussion in GPR#10. Taking time to make decisions can result in > measurably better designs, and the importance of unit testsuits *and* > property testing to help and structure API design cannot be under-estimated. Could you elaborate a bit that point? Could you give example of such "precise (formal) things that can be said about properties of certain interfaces"? I am especially interested in such formal properties that could much improve the design. Sincerely yours, D. Mentré