6 ms·
You are completely missing the point. The first problem is: reasons you've listed are stereotypical rants that young PHP developers say. Reasons #2 #4 #7 #9 ar
by ytimoschenko 12y ago
You are completely missing the point.
The first problem is: reasons you've listed are stereotypical rants that young PHP developers say. Reasons #2 #4 #7 #9 are just false. For templating here you are: http://tornado.readthedocs.org/en/latest/template.html http://tornado.readthedocs.org/en/latest/template.html, the others you could find yourself. Moreover, reasons #3 #6 just don't matter (who cares about quantity of books on PHP? Do you need to read them all? Functions beginning from _ not being imported is not enough for your encapsulation needs?), and #5 #8 are completely subjective. Please don't say any more of that.
The second problem is: you don't understand that language is just a tool to solve your problem. You should find a suitable tool for your problem, not vice versa. While it is definitely easier to build classical websites (no websockets) in PHP, you won't be able to write a system daemon or SMTP server or a concurrent messaging server in PHP.
You shouldn't concentrate on one tool, it is slowing you down. Python is great when it comes to science: https://wiki.python.org/moin/NumericAndScientific https://wiki.python.org/moin/NumericAndScientific, you won't find this number of scientific packages anywhere but in Python. It also, in my opinion, is much better suited for API servers than PHP with its perfect Flask http://flask.pocoo.org http://flask.pocoo.org and creepy but pretty fast Tornado http://www.tornadoweb.org/en/stable/ http://www.tornadoweb.org/en/stable/.
There are dozens of languages that everyone should use in their specific domain. Erlang for stable concurrency systems, Go for productive network and system programming, PHP for building simple websites, Python and Julia for scientific applications, Lua for embedding, Perl for parsing and scripts, Clojure for general-purpose language with immutable structures and concurrency, Haskell for learning great new ideas.
Programmer should be able to program on everything, that's the difference between a programmer and just a person who needs a website.
- tenken 12y agohmmm .... https://www.google.com/search?newwindow=1&safe=off&site=&source=hp&q=php+deamon+library&oq=php+deamon+library&gs_l=hp.3..0i13j0i8i13i30.224.4229.0.4503.19.19.0.0.0.0.122.1719.14j5.19.0.msedr...0...1c.1.59.hp..1.18.1601.0.lg9DeiwUj4Y https://www.google.com/search?newwindow=1&safe=off&site=&sou... http://perplexed.co.uk/545_php_smtp_server_for_receiving_emails.htm http://perplexed.co.uk/545_php_smtp_server_for_receiving_ema... Programs may be written in any language you as a developer are _most_ comfortable with. Of course -- we can all argue over what the _best_ language is to develop X in.