Sr. PHP Programmer Question: Download Senior PHP Programmer PDF
What PSR Standards do you follow? Why would you follow a PSR standard?
Answer:
You should folow a PSR because coding standards often vary between developers and companies. This can cause issues when reviewing or fixing another developer's code and finding a code structure that is different from yours. A PSR standard can help streamline the expectations of how the code should look, thus cutting down confusion and in some cases syntax errors.
Previous Question | Next Question |
What are rules for naming a PHP variable? | What is the difference between GET and POST? |