3 ms·
I learned programming 25 years ago, assembly, pascal and c. Over the years I've learned and used Java, php and python. PHP is only a cage if you let it be. PHP
by dr42 14y ago
I learned programming 25 years ago, assembly, pascal and c. Over the years I've learned and used Java, php and python.
PHP is only a cage if you let it be. PHP has all the tools you need to build anything. I prefer python any day, but I don't like to see people who never got beyond the newbie level criticize something just because they couldn't make it work for them. As the old phrase goes, a bad workman always blames his tools. The criticisms you have leveled at php are all the usual newbie ones, not understanding how stings and numbers are equated etc, it's like a python programmer not getting is vs ==, or a JavaScript programmer not understanding undefined, or a SQL programmer not understanding why null = null for purposes if group by, but not in equality testing. You have to undertake the language in hand properly before you can use it properly.
And yes you did make that assertion at the beginning of your thread. Go back to the first comment you made here on this thread.
- 10098 14y ago> PHP is only a cage if you let it be. PHP has all the tools you need to build anything. I don't think we understand each other. PHP has all the tools available to allow you to build anything within a certain problem domain, i.e. web programming. If you start with it, your focus will be shifted towards that domain. I think a better idea is to start with something more general-purpose, more consistent, get a good foundation, and then look at all the available options and say "ok, now I want to work in this field". > I don't like to see people who never got beyond the newbie level criticize something It is true that I don't have 10 years of experience in php, but I don't see why I should have continued investing valuable time into learning this platform when there were clearly better options available. > not understanding how stings and numbers are equated etc I understand it. I just think it's a bad decision to do it that way. Also note how all of your examples with other languages have reasonable logical explanations. The particular type conversion rule we were talking about does not have such an explanation. > And yes you did make that assertion at the beginning of your thread I only said "..slapping together websites (which is not really programming, let's be honest)" Web sites are web applications are different things in my book :)