3 ms·
I could have been clearer with what I meant there, and I agree with you: it's not a problem specific to PHP, and in some ways it's unfair to label beginners' mi
by mootothemax 17y ago
I could have been clearer with what I meant there, and I agree with you: it's not a problem specific to PHP, and in some ways it's unfair to label beginners' mistakes as problems in the first place.
The point I wanted to emphasize is that by reading lists like these new users might think that this is a good way to write PHP, whereas I strongly disagree with this list existing in the first place.
There's also the slightly selfish point of view of not wanting to have to clean up code like this should I come across it in future ;)
- ddbb 17y agoI agree with you. But beginners need to learn from somewhere and most advanced programmers are busy at work and not writing articles :) Plus, did you ever read a PHP book? Most of them give bad examples and bad code practices too... I just read one that said to disable all apache logging (including error logging) for performance reasons.