2 ms·
depends on what you mean with difficult. PHP was the first "real" language I learnt and back then I was like 13 years old. Maybe I wasn't working on amazing pro
by duiker101 14y ago
depends on what you mean with difficult. PHP was the first "real" language I learnt and back then I was like 13 years old. Maybe I wasn't working on amazing project but I had a decent knowledge. Now, after about 10 years and having tried many many other languages when I look at some PHP code I find it more confusing than other but still not the worst(which is Perl for readability IMHO). One thing that I think really add to much clutter to the PHP code is the $. It might be needed but if now find it kind of "hurts" my eyes. Another this is that is not object orientated(mostly, or at least the more used versions) and I think => adds as much noise as $. Personally I find much easier to read string.length than strlen($string). But in the end I think all of this things come end up being just personal preference.
- balac 14y agoWhat makes you say PHP is not object oriented? It has had proper object support since 5.0 (2004).