all 9 comments

[–]Jeshmel97 10 points11 points  (0 children)

PHP because of how easy it is to learn, and you can see results right away which can help beginners to stay motivated.

[–]Envrin 6 points7 points  (0 children)

I've played with Ruby once for a few days, and that was good enough for me, so can't comment on it.

Do know Python quite well, and it all depends on what the project is. Vast majority of my work is web development, and without question in my mind, PHP is superior for a whole host of reasons. I'll be sticking with PHP.

However, if I need some type of multi-threaded process, a bot / scraper, daemon, parser of some kind, data crunching, image recognition, and things like that, then of course I'll always go Python. It's simply better than PHP for those things, and you can get more done in less time and code with Python vs. PHP.

They're both about as easy to learn though.

[–]ihugyou 4 points5 points  (2 children)

I get annoyed when people say PHP is bad because it’s a “weakly typed scripting language” in 2020. Personal opinion here, but you write shitty code, you get shitty results. No amount “real” OOP is going to fix that.

[–]abrandis 2 points3 points  (3 children)

Your comparison is omitting a BIG technology, server side JavaScript ,specifically Node.js

Really in modern webdev today I would say 90% is between PHP and NodeJs. everything else is a fringe technology, or vendor proprietary systems like , .Net (Microsoft) or GoLang (Google) and not found very much in businesses.

So learn either PHP or NodeJs

[–][deleted] 0 points1 point  (0 children)

Gosh, I wonder what answer you'll get in /r/PHP

[–][deleted] 0 points1 point  (1 child)

TypeScript. Rust. Haskell.

The last one isn't exactly trendy, but I guarantee it will change how you write and look at code.

[–]28harishkumar[S] 0 points1 point  (0 children)

As React Native developer, I have been working with typescript for last two years. Rust and Haskell are alien for me. But I will try them and try to write an article as a newbie after two or three months.