Live data from Hacker News

PHP is worth learning and using

bulletproofphp.dev

131–140 of 468 posts

Re: PHP is worth learning and using

#131

The closest this post gets to supporting its thesis is this section: > You might have heard people say that PHP was "doing serverless before serverless was a thing", and this is kind of true. I believe that PHP is...not bad I guess? I'm sure it can make good things. But after reading this I have no idea why I would pick up PHP over any of the other capable tools out there.

Why would you pick any other language instead of PHP for web dev?

Re: PHP is worth learning and using

#132
post #121
post #12

Earlier quoted context omitted.

Here’s something to think about: You and some buddies start a startup whose product is a complicated piece of medical software that uses Tensorflow’s inference but most of it is written in Go. Cool stuff, you’d never do that in PHP. You’re getting ready to launch, and you’re going to need a marketing site and a site with documentation and help articles for users. Do you write that site in Go? Hell no. You hire someon…

Somewhat related, what's the Go laravel/rails/django equivalent?

There's Hugo (mentioned elsewhere ITT) and I hear it's pretty good. If I were making my own personal site that I was going to spend a lot of time on and I was more into Go than I am (I like Go but prefer Node.js) I'd totally use it.

But if you need a site spun up for something and it's not the main focus of your business, shooting for the middle of the market makes a lot of sense. Wordpress is super easy to set up and create pages on, and there are tons of people with expertise in it. It's the kind of thing even non-programmers can administer, which makes it accessible to people who have skills in other stuff like marketing or social media management.

Re: PHP is worth learning and using

#133
Hey if you don't like PHP please don't use it. I 'd hate to bring the culture of tiny packages, fake compilers, transpilers and weekly trends to PHP. Personally I use php because it works well and fast and still supports my 10 year old websites, not because it's cool.

Re: PHP is worth learning and using

#134

Hmmm... Most points in this article are shouting "yeah we have those too!!" but it didn't give any convincing arguments why I (or anybody who doesn't already know PHP) would like to learn and use PHP over other decent modern languages and ecosystems, which happen to have those points as well.

The best part of PHP is the development model. You copy some files to a server, and load the page. That's it. It is really hard to beat how easy it is to iterate, even if the language is truly terrible.

Re: PHP is worth learning and using

#135

Earlier quoted context omitted.

for me the biggest advantage is the size of the market. I know Python and PHP quite decent but I've never found any quick job (or long time job) for my Python skills. For PHP I have to convey some of jobs to others, I am getting so much of them (I even run some job advertisement site only for the purpose to redirect people pinging me with offers, really). But maybe this is just me.

Good jobs though? Lots of PHP jobs in Canada, but the salary is nearly universally always laughably low.

IDK what is a good salary in US/Canada, I live in European Union. My salary as WordPress developer is more than 4,5k USD/month and I see job offers with 8k USD as well (still for WP developers, this is my specialization and I know this field the most; I expect for better recognized PHP fields like modern frameworks like Laravel it could be more)

And yes, 4,5k USD/month is massively good salary for Europe.

On the other hand, I see many job offers with salaries being just a joke (idk if they find any good developers for such money)

Re: PHP is worth learning and using

#138

I have used PHP for years. Like it. Have accomplished some nice things with it. Think it's evolved nicely in recent years. Feel it's a great tool for particular problems. Will continue to use it. Will always be open to alternatives. Will never understand why some people find that so offensive and will tell you that you mustn't use it or imply that you are ignorant or stupid for using it.

You’re writing style is unique and grabbed my attention. Any tips to write like that? You didn’t use “I” at all, but it seems likely there are some other rules going on here.

No doubt there are people reading this message who speak Japanese who will correct me, but ... 30 years ago I studied Japanese a little bit. One interesting feature of the language was that once a subject was introduced, there was no need to restate the subject if it hadn't changed, resulting in paragraphs like the one which intrigued you.

"I have used PHP for years." The first sentence establishes the subject is "I".

"Like it." etc Because this sentence doesn't have an explicit subject, it is implicitly the same one, "I".

As I recall, "wa" and "ga" were the Japanese particles which established new subjects. Say you wanted to talk about Bob's new car, you'd say something akin to "About Bob's new car, is expensive. Arrived last week. Has poor gas economy."

Re: PHP is worth learning and using

#139

Hey if you don't like PHP please don't use it. I 'd hate to bring the culture of tiny packages, fake compilers, transpilers and weekly trends to PHP. Personally I use php because it works well and fast and still supports my 10 year old websites, not because it's cool.

I like PHP and still use it today. But never in my life heard PHP is cool. Am I missing something?

Re: PHP is worth learning and using

#140

The closest this post gets to supporting its thesis is this section: > You might have heard people say that PHP was "doing serverless before serverless was a thing", and this is kind of true. I believe that PHP is...not bad I guess? I'm sure it can make good things. But after reading this I have no idea why I would pick up PHP over any of the other capable tools out there.

Why would you pick any other language instead of PHP for web dev?

Because too many people learn only Javascript in their pRofeSSioNal WeB dEv BoOtCamPs so the only thing they know is JS. Why learn a solid backend-focused language if you can throw JS at it?
Post reply on HN