3 ms·
Please don't say familiarity with "any other language" prepares you for PHP. Not every language teaches you that when you get an error with a line number, you n
by brlewis 16y ago
Please don't say familiarity with "any other language" prepares you for PHP. Not every language teaches you that when you get an error with a line number, you need to look at previous lines for a missing semicolon. Not every language teaches you that = is not for comparison. Not every language teaches you the difference between && and &. Having seen PHP newbies struggle with issues like this, I am confident that the list of languages where prior experience makes PHP "easy" is short and specific.
- jasonlotito 16y agoAs someone with a lot of experience with teaching new people PHP, you're missing something. The other language portion generally refers to another programming language. Most people with those problems suffer from not knowing another programming language, or fundamentals in programming. People with the problems you mentioned are one of two types of people: 1. No prior programming experience. 2. Do not understand fundamentals of programming. These are the people that use $var1, $var2, and $var3 instead of arrays. Beyond that, if you can't be bother to learn the difference between =, ==, and === in PHP, you aren't bothering to learn, and have no reason to complain.
- brlewis 16y agoI totally meant programming languages. C syntax and conventions are not "fundamentals of programming"; they're C syntax and conventions. We agree that effort is required to learn them. That's my point. It's easy iff you know something similar already.