+ 1
PHP or JS ..? Should i ever need to learn JS for jumping into PHP .. and why ?
After HTML/CSS training and understanding i decided to go forward. After a lot of thinking and serching on the web what language is better to learn and why. Some people say that PHP is not good, some people oposite of that , and now i am confused. A appreciate any help..
2 Answers
+ 2
Currently I would choose JS. With the ecosystem that JS currently has you can use it in the Frontend (React, Angular, Vue, Modifications to the DOM, etc) and you can use it in the Backend (Node.js + Express) without any problem.
PHP has a bad reputation on the web, but still has its supporters within it. Currently has some frameworks that have given a new appeal to the language. But it is not something that you must necessarily learn (at least with all the technologies that are available at this moment), and if at some point you need to learn it I am sure it will not take you long to do it.
+ 4
I thing PHP. Because PHP can connect to your database (server). Most of it's concept are similar to JS. Most of the web in the world use PHP (About 80%).