Re: [RFC] [VOTE] pecl_http

From: Date: Fri, 30 Jan 2015 16:26:53 +0000
Subject: Re: [RFC] [VOTE] pecl_http
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-81437@lists.php.net to get a copy of this message
On 1/30/15 4:08 AM, Tony Marston wrote:
""Pavel Kouril"" wrote in message news:CAB6YZuzyMBAa5i3f9NsvebG2B7YJvO4RyVpy-eac78rsOJxdhQ@mail.gmail.com...
On Wed, Jan 28, 2015 at 1:17 PM, Michael Wallner <mike@php.net> wrote:
Hi,
<snip>>
Hello, just one observation - would be the name of the classes and namespaces stay the same after merging? I personally find the lowercased namespace name kinda weird, given that most of code written in PHP I've seen is using CamelCase.
Just because that most of the code YOU have seen uses CamelCase does not mean that CamelCase is the "standard". I programmed in other languages for over 20 years before I switched to PHP, and in those languages the standard was snake_case. That is the standard I still use, and I will object most strongly to the notion that I should change the habits of a lifetime just to suit the personal preferences of a junior programmer. By "junior" I mean "years of experience", not "job title".
Core uses CamelCase class names. The overwhelming majority of the PHP code I've seen in the wild uses CamelCase for both classes and namespaces. Other languages certainly have other conventions, but this is PHP. This isn't "personal preference of a junior programmer" (which is a rather flippant way to dismiss a fellow developer you do not know). It's the convention used by most of an industry. Please get off your high horse. You look quite silly up there. --Larry Garfield

« previous php.internals (#81437) next »