Does it make a difference when it comes to the application performance vs the readability and expressed intent of the code?
In this episode of ThoughtsOnCode, Derick answers these questions from a viewer, diving into the idea of performance optimization and measurement.
The above video takes a very intuitive approach to the subject of performance, advocating measurement over generalized “best practices” for performance.
If you’d like to get more detail on why I believe this, and look at some actual numbers, though, check out this blog post from Kyle Simpson:
In this post, Kyle walks through the most common object creation patterns and puts actual numbers on screen, comparing real scenarios in application development.
The result of Kyle’s research is very much in agreement with my statements above.