mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-10 07:53:56 +02:00
Remove space inside 2 hyphenated words
This commit is contained in:
@@ -12,5 +12,5 @@ Locator in to your classes arguably creates a harder dependency on the container
|
|||||||
It also makes your code much less transparent and ultimately harder to test.
|
It also makes your code much less transparent and ultimately harder to test.
|
||||||
|
|
||||||
Most modern frameworks have their own Dependency Injection Container that allows you to wire your dependencies together
|
Most modern frameworks have their own Dependency Injection Container that allows you to wire your dependencies together
|
||||||
through configuration. What this means in practice is that you can write application code that is as clean and de-
|
through configuration. What this means in practice is that you can write application code that is as clean and
|
||||||
coupled as the framework it is built on.
|
de-coupled as the framework it is built on.
|
||||||
|
@@ -323,8 +323,8 @@ results can vary. If you are working with a small number of values, concatenatio
|
|||||||
values, interpolating is minutely faster.
|
values, interpolating is minutely faster.
|
||||||
|
|
||||||
Regardless of what you are doing with strings, none of the types will ever have any noticeable impact on your
|
Regardless of what you are doing with strings, none of the types will ever have any noticeable impact on your
|
||||||
application. Trying to rewrite code to use one or the other is always an exercise in futility, so avoid this micro-
|
application. Trying to rewrite code to use one or the other is always an exercise in futility, so avoid this
|
||||||
optimization unless you really understand the meaning and impact of the differences.
|
micro-optimization unless you really understand the meaning and impact of the differences.
|
||||||
|
|
||||||
* [Disproving the Single Quotes Performance Myth](http://nikic.github.io/2012/01/09/Disproving-the-Single-Quotes-Performance-Myth.html)
|
* [Disproving the Single Quotes Performance Myth](http://nikic.github.io/2012/01/09/Disproving-the-Single-Quotes-Performance-Myth.html)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user