Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96D7B100D4 for ; Mon, 8 Apr 2013 23:54:54 +0000 (UTC) Received: (qmail 59794 invoked by uid 500); 8 Apr 2013 23:54:54 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 59704 invoked by uid 500); 8 Apr 2013 23:54:54 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 59694 invoked by uid 99); 8 Apr 2013 23:54:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 23:54:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of garydgregory@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 23:54:48 +0000 Received: by mail-wg0-f47.google.com with SMTP id y10so6499322wgg.14 for ; Mon, 08 Apr 2013 16:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:references:from:mime-version:in-reply-to:date:message-id :subject:to:content-type:content-transfer-encoding; bh=2z/CKbImCYcDqMDbKK4QND76iHzLpcF31Yi3EaXEmTg=; b=VeXsPnhvxnq7aIs4OrTKm4Y6GwfPFqnEJdP+Nbh+nh3KZ8VU45wqChrW/YBvLhQQBd u5bUGrHxhrJ3uoM2szUzdK/Sx6G452562vU7m9BxKanx6rzLYS/p3S0uBH49Ly8jRJvO 6Z/ZPPoLllaZwMcgiawaORN0aZkoe8FJhGMZTz4PpL0Ka3WZw3xuvMK5SYpSs7IeogjL taRJUzvPaj/0l3+OAAo2y4B7/ma+8nt7jWS+uleooRVgm7V2bhXLPwdlDm1ulajQfpCG 2HQdLFd0uQ1NoN7ljSUVZKcRbIYrw/iNPuVzXqLMSf7KdNwZGuyYeNYNiVeJzdm7mfIO Ju7Q== X-Received: by 10.205.105.8 with SMTP id do8mr11976079bkc.3.1365465267798; Mon, 08 Apr 2013 16:54:27 -0700 (PDT) References: <5151C6C9.8060909@apache.org> <516329FA.7040401@apache.org> <51633042.7070305@apache.org> From: Gary Gregory Mime-Version: 1.0 (1.0) In-Reply-To: <51633042.7070305@apache.org> Date: Mon, 8 Apr 2013 19:15:55 -0400 Message-ID: <-3502766031298567170@unknownmsgid> Subject: Re: [CSV] Should the Builder API be optional? To: Commons Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I would be ok with making the parser and format ctors public. What else? I agree that we should not force force folks into an API pattern but here it's not a big API at least. Gary On Apr 8, 2013, at 17:02, Emmanuel Bourg wrote: > Le 08/04/2013 22:39, Gary Gregory a =C3=A9crit : > >> But that's the price for immutability for some of these objects. > > Not sure, we already achieved immutability last year without paying this > price: > > http://svn.apache.org/repos/asf/commons/proper/csv/trunk/src/main/java/or= g/apache/commons/csv/CSVFormat.java?p=3D1305548 > > This design was sacrified for the sake of implementing a "by the book" > builder pattern that brings no real benefit in term of usability. It's > just a useless layer of complexity. > > > Emmanuel Bourg > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org