4 ms·
You don't know what you're talking about. Python process needs to be bounced, or has to watch files and bounce itself on change. The PHP runtime is designed to
by thesmallestcat 9y ago
You don't know what you're talking about. Python process needs to be bounced, or has to watch files and bounce itself on change. The PHP runtime is designed to read the file on each request. You have to go out of your way to require restarts (it is an optimization). PHP has the only mainstream runtime AFAIK that is designed this way (+ the model is stateless, so each refresh really is one). I'm not a PHP fan but it bothers me that people don't acknowledge some of its important, unique features and are content to rag on its inadequacies. It bothers me because we're probably ten years from people forgetting what PHP was, and creating a new, worse PHP (!).
- jaipilot747 9y agoThis message would have been just as effective without the opening accusation.
- thesmallestcat 9y agoSorry, you're right, I was annoyed by the "hurr durr Python" tone.
- 35bge57dtjku 9y agoIt didn't even have that tone...
- joshlemer 9y agoWell it does just assert without any supporting argument that Python is a nicer language, which is textbook flame-war starting.
- 35bge57dtjku 9y agoYour assertion that giving an opinion without supporting evidence is automatically "textbook flame-war starting" is also patently silly.
- srtjstjsj 9y agoPython can reload modules while running. This is standard practice. And anyway, bouncing a Python process is instantaneous.
- konschubert 9y agoSorry, when I said "Nicer language", i meant that it has a more readable syntax. On top of that, I was comparing Python to JavaScript and wasn't even talking about PHP, which, as you rightly discovered, I have very little knowledge about.