4 ms·
As a senior dev, I'd recommend moving off of PHP or at least training junior DEV's how to code properly before using PHP. Even in the old days of BASIC with num
by ChicagoDave 9y ago
As a senior dev, I'd recommend moving off of PHP or at least training junior DEV's how to code properly before using PHP. Even in the old days of BASIC with numbered lines you could teach solid principals. These languages just have more ways to screw up, which need to be understood by anyone using them. But to understand how and why you can screw up, you need to understand what good coding practices would look like.
- gremlinsinc 9y agoPHP is a very strong language (Esp php 7.0) .. it's grown up a lot since the crap from 4 and early 5 branches. There's totally nothing wrong with using PHP as it's found on most servers, and available just about everywhere. Junior's should be trained though on best practices, how to write testable/maintainable/self-documenting code, the different Design Patterns and using things like repositories properly and why/why not to use them depending on size and scope of project...etc..
- ChicagoDave 9y agoCan you still ignore encapsulation and call methods across pages (classes)?