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


Groups > comp.lang.php > #18990

Re: recommended names

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: recommended names
Date Tue, 28 Jun 2022 09:38:30 +0200
Lines 19
Message-ID <jhvpfmFfa9lU1@mid.individual.net> (permalink)
References <t9bnqb$1oao$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace individual.net ZHiMDSf1PluQrVtZdQcrbgR5jSwC4UGRzpqcrEiYP7QD6B/ltj
Cancel-Lock sha1:MCumGUg1Jq2ounYx3ZR9zBJ2rkI=
Content-Language de-DE
In-Reply-To <t9bnqb$1oao$1@gioia.aioe.org>
Xref csiph.com comp.lang.php:18990

Show key headers only | View raw


SupaPlex:

> $file = "abc.txt";
> 
> class Name {
>      function format() {}
> }
> 
> In your opinion, instead of $file isn't it better to use $filename?
> In your opinion, instead of Name isn't it better to use NameFormatter?

There is a standard for this:

<https://www.php-fig.org/psr/>


-- 
Arno Welzel
https://arnowelzel.de

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


Thread

recommended names SupaPlex <old@gamer.s> - 2022-06-27 09:55 +0200
  Re: recommended names Ben Bacarisse <ben.usenet@bsb.me.uk> - 2022-06-27 12:12 +0100
  Re: recommended names Jerry Stuckle <stuckle.jerry@gmail.com> - 2022-06-27 11:21 -0400
  Re: recommended names Angel <he1983912@gmail.com> - 2022-06-27 10:27 -0700
  Re: recommended names Arno Welzel <usenet@arnowelzel.de> - 2022-06-28 09:38 +0200

csiph-web