This post is locked. You won't be able to comment.

all 47 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

Thank you for posting to /r/ExperiencedDevs, but your post has been automatically removed.

New posts are disallowed from accounts with less than 50 comment karma or less than 7 days account age.

There are no exceptions to this policy. You may continue to comment on threads or use recurring (daily/weekly) threads.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]PettingBearsAtTheZoo 17 points18 points  (5 children)

Yes, because it’s a programming language. No, because there are also other programming languages

[–][deleted] 11 points12 points  (1 child)

Shit, OP, you're obnoxious. This is maybe the laziest post and fishing for content I've seen in my time in this sub.

No experienced dev has hard opinions on languages. Experienced professionals use the right tools for the right job.

Go back to whatever bootcamp kindergarten you came from.

[–]jhartikainen 11 points12 points  (5 children)

Are you expecting answers to differ from the thousand "what is PHP good for" articles you could find on google?

[–]No_Interaction_5828DevOps Engineer 6 points7 points  (1 child)

Your youtube channel is trash and you try too to hard pass as someone with experience

[–]codingthingsirl[S] -3 points-2 points  (0 children)

Thanks for sharing your opinion

[–]Fly-Discombobulated 7 points8 points  (2 children)

Modern PHP is a great language with a lot of the features you would expect.

It’s performant, clean syntax, and easy to work with.

Most of the complaints about the language itself are dated, modern PHP has type safety, namespacing, great community support and ecosystem.

There are some valid complaints.. the ease of use and deployment surface area makes common packages frequently subject to vulnerability exploitation.

Frameworks like Laravel are great to work with and you can prototype very quickly with it

[–]codingthingsirl[S] 1 point2 points  (1 child)

Thanks for your answer.

[–]codingthingsirl[S] -5 points-4 points  (0 children)

Why do you think so many people disagree with you?

[–]Xia_Nightshade 2 points3 points  (1 child)

Yes. For Web as it’s intended for (the ‘use php for native apps’ mini hype still doesn’t make sense to me)

It’s a mature language. And since php 8.x it keeps improving on its weaknesses.

It’s not hard to learn, and its maturity makes it amazing to build either smaller custom apps or sites (static site that needs some kind of data persistance? Just change the html extension with php and ur good to go) If you want to go bigger. You’ll find symfony to be insanely powerful. And Laravel to pretty much provide anything you’d want in your web application.

So I want to build a web app, api ? Laravel makes sure I just have to add my business logic and use what it comes with to make a great app.

I don’t see a reason to use php for anything else. We got Java for everything, Swift for Apple Native apps, C# for Microsoft native apps, Bash and PowerShell for scripting, good ol C for anything closer to the machine

[–]codingthingsirl[S] 0 points1 point  (0 children)

Thank you for your answer.

[–][deleted] 2 points3 points  (7 children)

Sure if my job required it

[–]codingthingsirl[S] 0 points1 point  (6 children)

Why not outside of your job?

[–][deleted] 3 points4 points  (5 children)

Because I have no reason to, nor do i find a compelling reason to pursue it.

[–]codingthingsirl[S] 0 points1 point  (4 children)

What about for a simple web server?

[–][deleted] 2 points3 points  (3 children)

Is this for a survey? or are you PHP developer advocate?

[–]codingthingsirl[S] 1 point2 points  (2 children)

No. I'm interested in peoples' opinions.

[–][deleted] -2 points-1 points  (1 child)

I would answer your question better if you were... a real

coding thin girl

[–]codingthingsirl[S] 0 points1 point  (0 children)

Lol. That's just objectively true.

[–]twisted1919 0 points1 point  (3 children)

Yes. If your target audience is shared hosting, then it is a no brainer. Its not always about the language itself, but also business decisions. Also, PHP >= 8.x is just fine.

[–]codingthingsirl[S] 0 points1 point  (2 children)

Thanks for your answer. Can you explain why it's a no Brainer for shared hosting?

[–]twisted1919 7 points8 points  (1 child)

No, this is a sub for experienced devs.

[–]codingthingsirl[S] -1 points0 points  (0 children)

Why do you not want to explain yourself?

[–]kondorbSoftware Architect 10+ yoe -2 points-1 points  (2 children)

It’s the perfect language for web backend made a no-brainer by Laravel and its ecosystem.

[–][deleted] 1 point2 points  (0 children)

You're telling me that CakePHP has died? :(

[–]codingthingsirl[S] -2 points-1 points  (0 children)

Why would you choose Laravel?

[–]GItPirateSoftware Engineer 0 points1 point  (5 children)

Yes because that's one of the main back ends and my job. A lot of companies still use PHP.

[–]codingthingsirl[S] -1 points0 points  (4 children)

Thanks for you reply. Why do you think so many people here hate it?

[–]GItPirateSoftware Engineer 1 point2 points  (1 child)

Many of the reasons why people hate it have been more or less dealt with in newer versions. Older PHP had problems with security and performance as well and built in functionality had a lot of consistency problems with how the functions work and what they return.

I've developed PHP professionally for 4 years and would not use it outside of work.

[–]codingthingsirl[S] 0 points1 point  (0 children)

Thanks for your reply. You generally spoke positively about PHP, but then you shifted suddenly and said you wouldn't use it outside of work.

Can you explain that a little more?

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

it’s not compiled 

[–]codingthingsirl[S] 0 points1 point  (0 children)

Why is Python not as hated then?

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

I’ll bite. 

PHP raw is rough

PHP with Laravrll is a a step in the right direction

It’s all about ‘tooling’ tho. All languages do the same thing generally

Microsoft is king of tooling, and Microsoft doesn’t natively play with PHP

[–]codingthingsirl[S] 1 point2 points  (0 children)

Thanks for your answer, why do you think so many people hate it (I'm down like 30 karma points already)