Live data from Hacker News

Learn PHP the Right Way

github.com

11–20 of 73 posts

Re: Learn PHP the Right Way

#12
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

Disagree. Laravel is a great productive framework and there are actually a lot of high paying PHO jobs

Re: Learn PHP the Right Way

#13
post #10
post #6

Earlier quoted context omitted.

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

Please give me some examples!

Learn a functional language like Elixir. That’ll prove both useful and mind expanding!

Re: Learn PHP the Right Way

#14
post #5

[flagged]

That page gets linked often by those who usually don't use PHP, but it is horribly outdated. PHP has come a long way since then.

It's kinda sad that the author doesn't bother to at least insert an alert. But I suspect that they enjoy the free traffic from people linking without this knowledge.

It's double sad that in our field we often strive to become more engineering and science like, yet many don't care to spread misinformation.

Re: Learn PHP the Right Way

#15
post #11
post #5

[flagged]

Wow using a 12 year old obsolete article to prove a point, nice. Lets be honest here, the modern web is an over engineered fractal of bad design.

An article is not obsolete just because it's 12 years old. Honestly, in PHP's case, I don't think there's much you can say about it 12 years ago that isn't still true.

Re: Learn PHP the Right Way

#16
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 usually the only option for running server-side code on shared/managed hosting. (Either that, or a version of Ruby from 2004. Do you want to use Ruby from 2004?)

Re: Learn PHP the Right Way

#17
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

I think for probably more than half of all websites out there, something like LAMP is either the optimal, or very close to the optimal solution. It's absolutely bonkers to me what kinds of tech stacks people use to render what essentially amounts to a bunch of forms.

Re: Learn PHP the Right Way

#18
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

After spending many years on Objective-C/Swift, I had a couple of opportunities to work with Django (Python), and then Laravel (PHP).

I'd take Laravel with Livewire (and some Alpine.js) over Django any-day. Plus my gut feeling says, that React would be as pleasant as Laravel and co.

Re: Learn PHP the Right Way

#19
post #6

Earlier quoted context omitted.

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.

After learning HTML, CSS and Javascript, PHP is a good next choice on the path to self-learning web development in 2024. The whole idea is to achieve "world is your oyster" with the minimal number of steps. Don't agree? That's fine. Web development isn't meant to be dictated to others.
Post reply on HN