Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85558 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78130 invoked from network); 30 Mar 2015 14:42:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2015 14:42:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=are.you.winning@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=are.you.winning@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.170 as permitted sender) X-PHP-List-Original-Sender: are.you.winning@gmail.com X-Host-Fingerprint: 209.85.212.170 mail-wi0-f170.google.com Received: from [209.85.212.170] ([209.85.212.170:37295] helo=mail-wi0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CA/71-04595-AB069155 for ; Mon, 30 Mar 2015 09:42:02 -0500 Received: by wiaa2 with SMTP id a2so133015434wia.0 for ; Mon, 30 Mar 2015 07:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5gRD+vCgo+r2GSJSzvy7imLwwHsOm7vSNljFzpr5184=; b=oaflOLpTBAdPTCLe3oF26GGVBTYEqx0ASGVrB/drXGjyV70dvyqca9XSBi7G+8ypYZ EDqVLbZB8TDhIPgQWgBPsJWIQxuceSIbquXmkbtGPk7GI8xI4RA/i4qkpKs12VFcdPj/ Bt9V3IM96WwUKJzMUjoUvXWqHg+nJSuiwSHAfgwfvW/J3hGRmw1rF1+Px/6cY3xT5nXy +pAQ1P9HaMOM370YEQa3DrPwWJo1NXzb7RAzbMnH3w80yiacyNyXKIDZh34px02rZx04 ycAKifmJK0G5Ohy1aa0l08zL9fVQ5xaKW4Qx6bXCDF2RAICjMlaN/fzzHDjuiwLAef7y X+PQ== MIME-Version: 1.0 X-Received: by 10.180.93.165 with SMTP id cv5mr22452315wib.51.1427726489539; Mon, 30 Mar 2015 07:41:29 -0700 (PDT) Sender: are.you.winning@gmail.com Received: by 10.180.79.73 with HTTP; Mon, 30 Mar 2015 07:41:29 -0700 (PDT) In-Reply-To: <3a939905cd5a06158c9e99d8af26e596@mail.gmail.com> References: <3a939905cd5a06158c9e99d8af26e596@mail.gmail.com> Date: Mon, 30 Mar 2015 15:41:29 +0100 X-Google-Sender-Auth: uJ7A4-NLwGsN3Pn-sa4eypWy_nQ Message-ID: To: Zeev Suraski Cc: PHP internals Content-Type: multipart/alternative; boundary=f46d043c80b23edb5a0512827ae6 Subject: Re: [PHP-DEV] Naming of 'weak' type hints From: cw@daverandom.com (Chris Wright) --f46d043c80b23edb5a0512827ae6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 30 March 2015 at 15:16, Zeev Suraski wrote: > All, > > > > One thing that I think we should change is how we refer to the =E2=80=98w= eak=E2=80=99 type > hints. The word =E2=80=98weak=E2=80=99 has a negative ring to it, and co= nsidering this is > how the language behaves across the board it=E2=80=99s a pretty bad name = for this > feature. > > > > Personally I think we should go for =E2=80=98dynamic=E2=80=99 when we doc= ument it, as this > is the common way to refer to this behavior (dynamic languages). We coul= d > also consider going for =E2=80=98lax=E2=80=99 or =E2=80=98lenient=E2=80= =99 as the opposite of =E2=80=98strict=E2=80=99, > although I think we can easily do without introducing a new word into the > vocabulary here. > > > > Thoughts? > > To me, "dynamic" implies "subject to change". The rules are different but they are fixed and well defined. I would suggest "loose" if you want to avoid "weak" (personally I think "weak" is OK, but I can certainly see where you are coming from). "Loose typing" is not new terminology, indeed Google seem to consider it synonymous with "weak typing" - when I Google either the first hit is http://en.wikipedia.org/wiki/Strong_and_weak_typing > > > Zeev > --f46d043c80b23edb5a0512827ae6--