3 ms·
This reminds me of people who say: "JavaScript is designed for embedding in web pages. Node.js developers are crazy too." The Right Tool for the job is not the
by babuskov 11y ago
This reminds me of people who say: "JavaScript is designed for embedding in web pages. Node.js developers are crazy too."
The Right Tool for the job is not the same for everyone. Unless you can state exact reasons what makes PHP bad and something else a better replacement, this is only PHP-bashing we see on HN all the time.
P.S. I wrote many ncurses clients in PHP, C and C++ and did not see much advantage in any of them. Unless there's some special requirement, I'd still pick PHP's duct-tape hashmaps/arrays over anything any other language has to offer.
- ssunstruck 11y agoWhy not use Python then? Its implementation of arrays/dictionaries is much less duct-tapey.
- babuskov 11y agoActually I see PHP's duct-tape interface as an advantage. It allows you to express the data structures and manipulate them in less verbose manner, which results in less code, which is easier to debug and maintain.