From thrift-user-return-134-apmail-incubator-thrift-user-archive=incubator.apache.org@incubator.apache.org Fri Oct 31 20:09:35 2008 Return-Path: Delivered-To: apmail-incubator-thrift-user-archive@locus.apache.org Received: (qmail 97869 invoked from network); 31 Oct 2008 20:09:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2008 20:09:35 -0000 Received: (qmail 63905 invoked by uid 500); 31 Oct 2008 20:09:41 -0000 Delivered-To: apmail-incubator-thrift-user-archive@incubator.apache.org Received: (qmail 63895 invoked by uid 500); 31 Oct 2008 20:09:40 -0000 Mailing-List: contact thrift-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: thrift-user@incubator.apache.org Delivered-To: mailing list thrift-user@incubator.apache.org Received: (qmail 63884 invoked by uid 99); 31 Oct 2008 20:09:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2008 13:09:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bryan@rapleaf.com designates 208.96.16.213 as permitted sender) Received: from [208.96.16.213] (HELO mail.rapleaf.com) (208.96.16.213) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2008 20:08:24 +0000 Received: from mail.rapleaf.com (localhost.localdomain [127.0.0.1]) by mail.rapleaf.com (Postfix) with ESMTP id 345D71250182 for ; Fri, 31 Oct 2008 13:09:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=rapleaf.com; q=dns; s=m1; b=IMr6C YpqxWekYRIIOqeqEXseMtqsghfPI+G18hLW6OYduDC0CU5EvnhAy8nslGgbL5RzQ hACWumpO4Qbsj8bR43rHrVJoOaElm2bx5VSdoCjFD/JAueM8Ej6kQPU/1yU6+cn3 pG7EI6d9mG4hSBouB/zo16Zb2Nb7Eqfc05r5Qk= Received: from [10.100.18.119] (unknown [10.100.18.119]) by mail.rapleaf.com (Postfix) with ESMTP id 229B7125017A for ; Fri, 31 Oct 2008 13:09:05 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <6DD4532A-C4EC-4203-82B1-54589DB67FC0@rapleaf.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: thrift-user@incubator.apache.org From: Bryan Duxbury Subject: default, required, optional Date: Fri, 31 Oct 2008 13:09:04 -0700 X-Mailer: Apple Mail (2.753.1) X-Virus-Checked: Checked by ClamAV on apache.org Can someone help me understand the difference between required, default, and optional field modifiers? Required seems to make sense. Optional seems to make sense. However, the fact that there's a third state is quite ambiguous. It seems like the field modifiers should be binary - required or optional. Leaving the modifier off should just be a shorthand for optional. -Bryan