Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65219 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38587 invoked from network); 26 Jan 2013 18:01:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2013 18:01:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=turneliusz@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=turneliusz@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.41 as permitted sender) X-PHP-List-Original-Sender: turneliusz@gmail.com X-Host-Fingerprint: 74.125.83.41 mail-ee0-f41.google.com Received: from [74.125.83.41] ([74.125.83.41:61665] helo=mail-ee0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/06-33516-8F914015 for ; Sat, 26 Jan 2013 13:01:33 -0500 Received: by mail-ee0-f41.google.com with SMTP id c13so707176eek.28 for ; Sat, 26 Jan 2013 10:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=N7PySSFlbMVjrR/ZrSv9cUDCJGJMKkLMv/ZTZ87lqLQ=; b=z+87gUQzpnd1DJ924MYgTQGI0HLcWwOkYistJmAqbdLiN6zPg8k7noGSG5Amk0y19z +II83FyhD/R9RJDKRGHNplReHYEDlWUW7MnJRp/xXPQmDYOQm0DEC6xR1KLxJ788ZFA2 mtC8qYQnzzAzYomd3rsxxitz1wwqXK94s1y6iAnjWUCYSh/zLLd+YSBDJqMVAoBv8Dzq aj+egigxLjFksACjXUVxcZVtMqkLyNhd8LQHKFZfnvczibxxsFkfwe6oilxnMTi+1zbV rrQqhaw5OEb0526yZyW7JLNZx3EX88mIfqvOXL3znNhl4VJETTC25AfhvZNpvZq3WrJb OiEQ== MIME-Version: 1.0 X-Received: by 10.14.223.200 with SMTP id v48mr32531083eep.24.1359223285730; Sat, 26 Jan 2013 10:01:25 -0800 (PST) Received: by 10.223.160.136 with HTTP; Sat, 26 Jan 2013 10:01:25 -0800 (PST) In-Reply-To: References: Date: Sat, 26 Jan 2013 19:01:25 +0100 Message-ID: To: Florin Razvan Patan Cc: Kalle Sommer Nielsen , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] I think that "Function naming inconsistency" bug deservers more attention From: turneliusz@gmail.com (=?ISO-8859-2?Q?Damian_Tylczy=F1ski?=) Thank you for the link http://philsturgeon.co.uk/blog/2013/01/php-6-pissing-in-the-wind I didn't know that... getters/setters were dumped to the garbage... http://japfan.pl/uploads/media/dacffbe3073882e86057d04266675637.JPG I will go get a drink... Is there any log of votes? Like reasons why "no" people said "no"? Sorry for off-topic. I think I will quit visiting "internals", this just dosen't make any sense. 2013/1/26 Florin Razvan Patan : > Hi, > > Everyone here forgets that there's a little certification > run by some guys named Zend that factor in some of > these things as well. > > That's the point of not having consistency? Checking > if some have better memory that others? > > Also, I suppose that everyone can afford to look up > things on the PHP manual when doing debugging on > some crashed remote service via CLI only access. > > Now, on a nicer tone. > > Consistency across function name/parameters would > help out both new people that learn the language as > well as leave out one point when compared to the other > languages. > > Sure, there's no point in changing things just for the > sake of it but I don't get it why this couldn't be a > viable option for PHP 6 for example, which is a major > release. > > It would definitely help out new users and get some > bonus points while doing so in order to close the mouth > of those arguing that PHP is so inconsistent in naming > things. > > Phil Sturgeon had a nice idea on his blog, > http://philsturgeon.co.uk/blog/2013/01/php-6-pissing-in-the-wind > which I think could very well apply to PHP and maybe > something like this could be done by someone with > less C/PHP internals knowledge that some other > features. If that's the case and all we need is someone > to do the changes, then I could level up my C > knowledge and help out if no one else is willing to do > it. > > I'd dislike for it to be rejected with reasons like: > - but it doesn't bring anything new; > - it doesn't help us with anything; > - it doesn't solve real problems; > - the current functions reflect the underlying functions > used. I've been a PHP user (developer) for a couple of > years now and I really don't care what's the parameter > order for the functions that PHP use to help me out > getting my job done; > - perfection ain't good. > > > Best regards. > ---- > Florin Patan > https://github.com/dlsniper > > > > > On Sat, Jan 26, 2013 at 7:13 PM, Kalle Sommer Nielsen wro= te: >> Hi >> >> 2013/1/25 Damian Tylczy=F1ski : >>> I've seen discussion on reddit >>> http://www.reddit.com/r/PHP/comments/174qng/lets_make_phps_function_nam= es_consistent/ >> >> There is one really clean solution to this "problem" for the >> consistency Guys that tend to complain about PHP endlessly; write the >> aliases in PHP that can be included, which can be considered just like >> using one of the frameworks thats filled with functions, it can be >> written quite fast and you can even use auto_prepend_file to include >> it in all scripts. >> >> As said in countless mails above, there is no gain for breaking BC due >> to "perfection". >> >> -- >> regards, >> >> Kalle Sommer Nielsen >> kalle@php.net >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >>