Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81101 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21294 invoked from network); 25 Jan 2015 01:27:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2015 01:27:43 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.176 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.216.176 mail-qc0-f176.google.com Received: from [209.85.216.176] ([209.85.216.176:54328] helo=mail-qc0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/61-11456-E8644C45 for ; Sat, 24 Jan 2015 20:27:43 -0500 Received: by mail-qc0-f176.google.com with SMTP id c9so2921949qcz.7 for ; Sat, 24 Jan 2015 17:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=a04RG8UKNi108esfI7TNahb/z24l1tqTNomMVw9Bp3w=; b=lBm056vNMZIHgeYdM8Nq5B7zPMkzFv02yr+uSoODTRhr+GfAJiIu6oI/tWxjDyJ27u KTwpFhjxefXuJ5AJ3dEQ9YDp9MPK2hWqtP1/eN5OiuCVPvvJUEx25AdkRX9Vmn9Mrvu7 He/LC2XThjnjmOb2j0fsMqTnm9FnRClnaEZMXegdCE/vvyAigB6R3c00/iw71HA1dmGT wE6TOG3MKz9vb0AitcuH4vrOjDNIcFJTZkZymsVku6waKTi+BBRA0DQrdHU5vwfmb5we IfvYmMS0RjNpSQaomWndT6PPrgDzhlY52OqiGdwX6VYAv0Hj9f1up+i3kmVmZwxFCL9S XtIQ== X-Received: by 10.140.20.226 with SMTP id 89mr28139158qgj.43.1422149260274; Sat, 24 Jan 2015 17:27:40 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.93.70 with HTTP; Sat, 24 Jan 2015 17:27:00 -0800 (PST) In-Reply-To: <5457EA92.7080407@sugarcrm.com> References: <002601cff777$eb923430$c2b69c90$@tutteli.ch> <68518A5F-4A11-4D93-914D-760A4CB447E8@ajf.me> <5457D749.2010406@gmail.com> <5457DC1B.9040609@sugarcrm.com> <0924CAE8-CF12-4D4A-A2E9-039C717C947D@ajf.me> <5457EA92.7080407@sugarcrm.com> Date: Sun, 25 Jan 2015 10:27:00 +0900 X-Google-Sender-Auth: 7q5C16akgs3aVYNj3AT4NwPVXIY Message-ID: To: Stas Malyshev Cc: Andrea Faulds , Stas Malyshev , Robert Stoll , PHP Internals Content-Type: multipart/alternative; boundary=001a11c1257e79f438050d6fed14 Subject: Re: [PHP-DEV] Types on the right or on the left From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c1257e79f438050d6fed14 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, On Tue, Nov 4, 2014 at 5:50 AM, Stas Malyshev wrote: > > Again, an unfair comparison. Hack isn=E2=80=99t intended to be a comple= tely > > I'm not sure what you refer to by "fair". Hack is not "intended", but IS > a separate language - just read the manual and you will see, it is a new > language which borrows some syntax from PHP. Just read their own site: > > Hack is a programming language for HHVM that interoperates seamlessly > with PHP. > > I completely agree with this statement - Hack is a programming language > that is different from PHP but built in a way to interoperate with it. I agree with Stas also. We may have both for compatibility and consistency. Hack may adopt later if they want. e.g. Both class Bar { public Foo $var; function( Foo $var); } and class Bar { public $var : Foo; function($var : Foo); } may be accepted under PHP. Not many people care about a little compile time overhead today. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c1257e79f438050d6fed14--