# Fwd: Re:  studlyCaps conclusion

- Thread: https://externals.io/message/8783
- Original archive: https://news-web.php.net/php.internals/8783
- Started by Andi Gutmans on 2004-03-26T15:43:53+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #8783 — Andi Gutmans — 2004-03-26T15:43:53+00:00

URL: https://externals.io/message/8783#8783

I meant "A bad decision is better than no decision".

>Date: Fri, 26 Mar 2004 17:32:13 +0200
>To: "Wez Furlong" <wez@thebrainroom.com>, <internals@lists.php.net>
>From: Andi Gutmans <andi@zend.com>
>Subject: Re: [PHP-DEV] studlyCaps conclusion
>
>I pretty much agree with Wez. A bad decision is worse than no decision :)
>The way I see it, studlyCaps has been in the CODING_STANDARDS *and* 
>precisely because people and PEAR use them for method names we should go 
>with studlyCaps. It would suck to have user-land and internal methods look 
>differently. Personally I think it makes sense to keep underscores for 
>functions and I see no problem with them differing from methods as I 
>usually use underscores for C code and studlyCaps for C++ code :)
>We should go with studlyCaps according to CODING_STANDARDS for all 
>extensions. If some extension writer refuses (such as George) then so be 
>it and we leave it the way it is (although I would ask him to reconsider 
>for the long term good of PHP).
>
>Andi
>
>
>At 03:01 PM 3/26/2004 +0000, Wez Furlong wrote:
> > […]

---

## #8784 — Edin Kadribasic — 2004-03-26T15:50:51+00:00

URL: https://externals.io/message/8783#8784 · In reply to: #8783

> I meant "A bad decision is better than no decision".

So this bad decision is to have a standard that everybody is free to ignore?

Edin

---

## #8785 — Andi Gutmans — 2004-03-26T15:54:04+00:00

URL: https://externals.io/message/8783#8785 · In reply to: #8783

At 04:50 PM 3/26/2004 +0100, Edin Kadribasic wrote:
>
> > […]
>
>So this bad decision is to have a standard that everybody is free to ignore?

It means that we change whatever extensions aren't studlyCaps to studlyCaps 
(except for MySQLi, i.e. this is why it's a bad decision) and make sure in 
future we stick to CODING_STANDARDS.
I already said that personally I'd prefer for MySQLi to change too.

Andi

---

## #8786 — Edin Kadribasic — 2004-03-26T16:05:29+00:00

URL: https://externals.io/message/8783#8786 · In reply to: #8785

> At 04:50 PM 3/26/2004 +0100, Edin Kadribasic wrote:
> > […]
>
> It means that we change whatever extensions aren't studlyCaps to studlyCaps
> (except for MySQLi, i.e. this is why it's a bad decision) and make sure in
> future we stick to CODING_STANDARDS.
> I already said that personally I'd prefer for MySQLi to change too.

Maybe the extensions that do not comply with the CODING_STANDARDS should find 
alternative ways of distribution. For example MySQL AB can distribute mysqli 
from mysql.com and then use any standard they please.

Edin
