3 ms·
File extension is just a part of my observation. It also includes tutorials, how-tos, questions/answers on stack overflow-like sites, etc. all of these are more
by Achshar 15y ago
File extension is just a part of my observation. It also includes tutorials, how-tos, questions/answers on stack overflow-like sites, etc. all of these are more for php than any other language.
example
http://stackoverflow.com/questions/tagged/php http://stackoverflow.com/questions/tagged/php
http://stackoverflow.com/questions/tagged/python http://stackoverflow.com/questions/tagged/python
http://stackoverflow.com/questions/tagged/ruby-on-rails http://stackoverflow.com/questions/tagged/ruby-on-rails
the difference is huge.
- icebraining 15y agoSure, I was just explaining that particular observation. I'd say the difference is that PHP, due to being easier to get into - you don't need a framework, understand OOP, etc - is used both by amateurs and professionals, while Ruby and Python tend to be mostly used by the latter. Hence, you get vocal opposition in communities composed of such professionals, while others don't really care enough about the languages and the craft to participate in them. (Note: nowhere did I criticize PHP or all PHP developers)
- Achshar 15y ago> due to being easier to get into - you don't need a framework, understand OOP what kind of framework? i was seeing khan academy videos that teach python and they did not use any framework and the basic things were same as in php (conditionals, loops, function, etc), no OOP. OOP might be used for some advanced stuff but that stands true for php too. Also a note from me too, i am not against python or ruby. They are great. I am just trying to make sense of what i observe daily.
- icebraining 15y agoYou need a framework and OOP if you want to use Python for the web. Without them you can't really move beyond simple terminal programs. The thing is that many people don't really want to learn to program: they do it as a way to accomplish other goal (in this case, create a website for some purpose). So they aren't likely to have the patience to learn in a structured way - often start by copy-pasting snippets and examples and learning as they need. PHP fits right into that mindset; in fact, it was originally designed for that: as a set of tools for people who just wanted to add some small feature to their mostly static personal site. And even if it has added a lot of advanced stuff, that quick-and-dirty approach is still easy.