Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88770 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91815 invoked from network); 13 Oct 2015 11:11:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2015 11:11:14 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:51161] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/53-04042-0D6EC165 for ; Tue, 13 Oct 2015 07:11:12 -0400 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id CBFF810C19F; Tue, 13 Oct 2015 12:11:09 +0100 (BST) Date: Tue, 13 Oct 2015 12:11:09 +0100 (BST) X-X-Sender: derick@whisky.home.derickrethans.nl To: Andrea Faulds cc: internals@lists.php.net In-Reply-To: Message-ID: References: <5C.21.16518.AA80C165@pb1.pair.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [PHP-DEV] Scalar type hints and scalar type name aliases cause confuson From: derick@php.net (Derick Rethans) On Tue, 13 Oct 2015, Andrea Faulds wrote: > Peter Cowburn wrote: > > > Failing that, at least making them available as aliases is a good > > thing in my book. I never understood the reluctance to make use of > > all existing names when the type declarations discussions were going > > on. Fact is, people are going to type "double", "long", etc. in > > their declarations... why get in their way? > > I don't want to allow them as aliases, because it means another thing > to add to style guides. Some people would use 'float', some 'double', > some would use 'int', some 'integer', some 'long'. It'd be much > cleaner to just pick one and stick with it. Types don't need multiple > names. Having aliases is probably what I feel most strongly against as well. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine