Quote:
Originally Posted by sobecash
True, but seldom what happens. In most coding environments, validation and QA take up most of the time. In web programming a lot of the code is done by people who did not start out as programmers.
The website works, and every so often the page fails, and then we fix it. Such is life in internet time.
|
I hate to bash on new programmers/scripters. Sometimes people just don't have the occasion to learn PSR standards, etc.
We should try to keep this thread positive and informative for new people learning. I know that there are probably some new people who just haven't learned everything yet (but still want to make things, and that's good!). But these people probably don't know how to use git, write unit tests, manage dependencies, or write even good OO code.
I will agree with Dom, unit testing is amazing and can save a lot of time. You should look into PHPUnit. You can add it as a dependency via Composer. getcomposer.org if you don't have it.
Hopefully that helps you to spend more time writing good quality programs and not debugging and trying to find errors!