Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18467

Re: namespace importing: code style

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: namespace importing: code style
Date Wed, 23 Dec 2020 12:28:09 +0100
Lines 17
Message-ID <i4gnu9FtldfU1@mid.individual.net> (permalink)
References <rrv7jp$5hi$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net 8EyZnBw2LgpTnzWVeFx2ZQh1pMq23J7W5o0/NCjODqTG35n77k
Cancel-Lock sha1:KY8aa5vsRTpO5F/DBHkBxLnvBFA=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
In-Reply-To <rrv7jp$5hi$1@gioia.aioe.org>
Content-Language en-US-large
Xref csiph.com comp.lang.php:18467

Show key headers only | View raw


On 23/12/2020 11.53, alex wrote:
> Usually I just use these two styles:
> 
> // Grouping by vendor
> use Vendor\{
> // Grouping by package
> use Vendor\Package\{
> use Vendor\OtherPackage\{
> 
> What style, or rather, what kind of grouping do you prefer?

Which style you use ain't the most important, the most important that 
you use the same style all the time.

-- 

  //Aho

Back to comp.lang.php | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

namespace importing: code style alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-23 11:53 +0100
  Re: namespace importing: code style "J.O. Aho" <user@example.net> - 2020-12-23 12:28 +0100

csiph-web