2 ms·
>> but it seems to me that the shortcomings of the language can't be justified by tradeoffs because there were no benefits gained by the downsides that are in P
by smsm42 14y ago
>> but it seems to me that the shortcomings of the language can't be justified by tradeoffs because there were no benefits gained by the downsides that are in PHP
You are wrong. There are a lot of justifications for the tradeoffs, and if you want to know what they are, just ask real developers who wrote the code or maintain it. Somehow this is very rarely done, people just assume because they saw a couple of pages of bad PHP code, they know everything about the language now and can tell if certain tradeoffs were justified or not. PHP is simple, but it's not that simple.
>> debatable facts ("it's easy!")
Calling the fact "debatable" in order to make a proven fact seem dubious may be effective at first, but only if the readers do not have a habit to think about what they read. I think most of the people here do have this habit. So it would be nice to respect the audience and if you mean to dispute known facts - fine, dispute them. By using proof and argument, not just by attaching an epithet to them.
>> That articles like this one keep coming up is a sign that people (mainly PHP defenders) can't just admit their language has downsides like everyone else's
Sorry, this is baloney. Everybody admits that. What PHP defenders would not admit is exactly what you are saying above - that PHP is unique among languages not in having downsides, but in all of these downsides having no justifications at all. What they don't admit is that anybody who sees that is stupid (or, as you prefer to say, "lacking in professionalism") just because they see more than you see. That's just nonsense and there's absolutely no reason to "admit" it.