Premature optimization is dangerous
December 18, 2019 — Working with PHP, it would be pretty obvious you’d be worried about the performance of your application. And because of this anxiety, you start to optimize trivial things such as replacing double quotes(“) to single quotes(‘), use echo
instead of print_r
, or using static methods in order to gain those little performance gains during the initial few days of your application development itself. Optimizing these thigs is good and all.