Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08600972F for ; Tue, 24 Apr 2012 18:03:47 +0000 (UTC) Received: (qmail 43702 invoked by uid 500); 24 Apr 2012 18:03:46 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 43673 invoked by uid 500); 24 Apr 2012 18:03:46 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 43664 invoked by uid 99); 24 Apr 2012 18:03:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 18:03:46 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aharui@adobe.com designates 64.18.1.187 as permitted sender) Received: from [64.18.1.187] (HELO exprod6og104.obsmtp.com) (64.18.1.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 18:03:37 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob104.postini.com ([64.18.5.12]) with SMTP ID DSNKT5bq5c13XKBD8HP6ccijZZOeqk1YXfnb@postini.com; Tue, 24 Apr 2012 11:03:17 PDT Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q3OI17J0001807 for ; Tue, 24 Apr 2012 11:01:08 -0700 (PDT) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q3OI1aYs002416 for ; Tue, 24 Apr 2012 11:02:34 -0700 (PDT) Received: from NAMBX02.corp.adobe.com ([10.8.127.96]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Tue, 24 Apr 2012 11:00:26 -0700 From: Alex Harui To: "flex-dev@incubator.apache.org" Date: Tue, 24 Apr 2012 11:00:24 -0700 Subject: Re: [jira] [Updated] (FLEX-51) Please check support for ExactValue initializer Thread-Topic: [jira] [Updated] (FLEX-51) Please check support for ExactValue initializer Thread-Index: Ac0iQmBgRaav+zmkSd+zM+oBTUBw4wAAb7Re Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.11.0.110726 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 4/24/12 10:47 AM, "Omar Gonzalez" wrote: >>=20 >> Optimizing for read-once variable expressions just sounds dangerous to m= e. >> I would not want to bake that into the compiler and invite people into a >> trap. >> >=20 > All I'm saying is that if we're going to turn it down it should be on > technical merit, or lack thereof, as opposed to whether it invites > something bad, because there's lots of bad things that can be done and if > we use that as criteria for changes then we'll never make any changes. I think "technical merit" includes whether a feature has consistent behavior. I consider the current binding system to be consistent. You can mis-use it, but for any given expression, it will evaluate correctly. This proposal, if it includes expressions with variables, introduces timing dependencies. I think that is a technical flaw. --=20 Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui