Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18990
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: recommended names |
| Date | 2022-06-28 09:38 +0200 |
| Message-ID | <jhvpfmFfa9lU1@mid.individual.net> (permalink) |
| References | <t9bnqb$1oao$1@gioia.aioe.org> |
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 | Next — Previous in thread | Find similar | Unroll 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