this post was submitted on 16 Jun 2023
19 points (100.0% liked)
World News
22058 readers
55 users here now
Breaking news from around the world.
News that is American but has an international facet may also be posted here.
Guidelines for submissions:
- Where possible, post the original source of information.
- If there is a paywall, you can use alternative sources or provide an archive.today, 12ft.io, etc. link in the body.
- Do not editorialize titles. Preserve the original title when possible; edits for clarity are fine.
- Do not post ragebait or shock stories. These will be removed.
- Do not post tabloid or blogspam stories. These will be removed.
- Social media should be a source of last resort.
These guidelines will be enforced on a know-it-when-I-see-it basis.
For US News, see the US News community.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Since you asked, I'll give you a nuanced answer.
PHP is not, in itself, inherently bad. The newer versions are performant and if you are a good programmer, you can produce completely fine stuff with it.
The problem is that it's flexibility leads to sloppy programming, which leads to projects that turn into a cluster. A good example is WordPress. I'd argue WordPress itself is well written. Once you add a dozen or so badly written plugins though it becomes a mess.
A lot of the criticism is the same that JavaScript gets. It's a loosely typed language. So "1" is different than 1. The first is a string and the second is an integer. So if you add 1+1 you could end up with 11 instead of 2.
Again, this isn't a problem if you're a disciplined dev, but we're not a breed known for our discipline ;)
When I tried Kbin it was slow, which I attributed to badly written PHP code. However, I didn't do the research to confirm this was the case.
If you tried it a few days ago during the reddit blackouts, it was getting overwhelmed with traffic. The sole owner/operator has largely improved things in short order though. It was much better today.