Re: Always use class aliases?

"He, who travels time to time" <[email protected]>
Newsgroups comp.lang.php
Message-ID <[email protected]>
Hey... Want to talk? Call me.... My telephone number >>>>

(+372) 56330687


Flash kirjutas Pühapäev, 3. juuli 2022 kl 11:23:18 UTC+3:
> https://www.exakat.io/en/6-good-practices-for-use/ 
> "Any call to a fully namespaced should be avoided, and at least aliased. 
> Firstly, this shorten the code, keep it easier to read. This may also be 
> called ‘Avoid long classes name in code’. 
> .......... 
> ............. 
> ....." 
> 
> But in some cases, I consider it something a little excessive. 
> For example 
> 
> --- SCRIPT --- 
> <?php 
> use MyClass as MyClass; // little excessive? 
> // ... 
> --- END SCRIPT --- 
> 
> What do you think?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.