Live data from Hacker News

Learn PHP the Right Way

github.com

1–10 of 73 posts

Re: Learn PHP the Right Way

#3
The only reason to learn PHP in 2024 is if you are specifically targeting PHP jobs. Learning PHP is like learning Perl: suboptimal.

Edit: Jesu X. Chris, I didn’t mean to start a language war. Learn PHP if you want, I won’t stop you lol

Re: Learn PHP the Right Way

#4
post #3

The only reason to learn PHP in 2024 is if you are specifically targeting PHP jobs. Learning PHP is like learning Perl: suboptimal. Edit: Jesu X. Chris, I didn’t mean to start a language war. Learn PHP if you want, I won’t stop you lol

Both have their uses.

Re: Learn PHP the Right Way

#6
post #3

The only reason to learn PHP in 2024 is if you are specifically targeting PHP jobs. Learning PHP is like learning Perl: suboptimal. Edit: Jesu X. Chris, I didn’t mean to start a language war. Learn PHP if you want, I won’t stop you lol

Both have their uses.

I am not saying they don’t. I am just saying there are (except in a few rare cases) better uses of your time.

Re: Learn PHP the Right Way

#7
post #3

The only reason to learn PHP in 2024 is if you are specifically targeting PHP jobs. Learning PHP is like learning Perl: suboptimal. Edit: Jesu X. Chris, I didn’t mean to start a language war. Learn PHP if you want, I won’t stop you lol

> if you are specifically targeting PHP jobs

Lot of those around[0].

[0] https://w3techs.com/technologies/history_overview/programmin...

Re: Learn PHP the Right Way

#8
post #3

The only reason to learn PHP in 2024 is if you are specifically targeting PHP jobs. Learning PHP is like learning Perl: suboptimal. Edit: Jesu X. Chris, I didn’t mean to start a language war. Learn PHP if you want, I won’t stop you lol

There's certainly a ton of use cases where php is a few minute job and anything else is 10x more or even longer just like is true with shell scripts and perl

Snobbery is like saying you're intellectually superior to using a specific screwdriver or kitchen knife.

Re: Learn PHP the Right Way

#9
post #3

The only reason to learn PHP in 2024 is if you are specifically targeting PHP jobs. Learning PHP is like learning Perl: suboptimal. Edit: Jesu X. Chris, I didn’t mean to start a language war. Learn PHP if you want, I won’t stop you lol

PHP is so much nicer to use on a webserver vs Python or JS. It’s almost like PHP was built for the web and fits it like a tailored suit!

Would I use PHP to make games? No! I wouldn’t use JS or Python for that either.

I try to use the best language for the job without letting any cargo cult biases get in the way.

Front end stuff? JS!

Backend stuff? PHP!

AI stuff? Python!

Games and microcontrollers? C/C++!

Post reply on HN