mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-06 22:16:34 +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.
|
||||
|
||||
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-
|
||||
coupled as the framework it is built on.
|
||||
through configuration. What this means in practice is that you can write application code that is as clean and
|
||||
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.
|
||||
|
||||
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-
|
||||
optimization unless you really understand the meaning and impact of the differences.
|
||||
application. Trying to rewrite code to use one or the other is always an exercise in futility, so avoid this
|
||||
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)
|
||||
|
||||
|
Reference in New Issue
Block a user