You guys think a hell of a lot about your hammers It's a tool, use it or don't. Why do we have this weird slap fight every 2 months? It's so weird
PHP is worth learning and using
291–300 of 468 posts
Re: PHP is worth learning and using
#292Earlier quoted context omitted.
If you like PHP, great. Do you plan on creating a start-up that you intend to scale to a babillion customers? That you intend to hire teams of developers for? Probably not a good idea. Are you a new programmer trying to figure out which language to learn first? Absolutely not. Python, Java, JavaScript, C# are much more flexible if nothing else. Anybody who tries to convince new programmers to learn PHP is doing them…
Except Facebook literally did that :) But I agree with you.
Re: PHP is worth learning and using
#293As someone actually did (re)learn PHP (last time I used PHP was PHP4) last year for a gig, I would probably say no. Don't get me wrong, it is a much better language now and Laravel is a great framework. With the two you can no doubt build fantastic applications. But I didn't feel it was 'better' in any way than anything else. With Python, Go, Rust, Elixir, TypeScript etc. I can all point to a thing they do and say "i…
Re: PHP is worth learning and using
#294Earlier quoted context omitted.
Except Facebook literally did that :) But I agree with you.
Wikipedia too. And probably many WordPress websites with a lot of traffic. If anything, PHP has proven it works in this regard.
PHP works, but imho starting a new company or career with PHP is a mistake.
Re: PHP is worth learning and using
#295If you haven't worked in PHP, you don't know what you are talking about. You only think you know what you have heard.
Re: PHP is worth learning and using
#296Earlier quoted context omitted.
It does, but it's mostly transparent to the user. I've never had to think about it when I was installing WordPress.
When you start on a minimal server installation setting up LAMP to the point that wordpress doesn't complain is just as much work as setting up RVM/Node and Passenger to run whatever language you want.
Re: PHP is worth learning and using
#297Earlier quoted context omitted.
I went on a rant, but didn't mean to. I don't have anything against PHP, it's got a valuable and relevant place on the the web. It's important to many people, and like you said you find it fun, which I think is important for our productivity as devs. However, I think this recurring misconceptions how easy PHP is to develop in needs to stop. PHP comes with a lot of complexities. Worst kind of complexity to learn: hidd…
One person’s complexity is another person’s valuable job skill. PHP and Apache aren’t hard to setup and configure if you know how it works.
I didn't mean to imply that other languages don't have complexities. All ecosystems come with their own boons and complexity issues (hidden or upfront). The thing I wanted to address is the general idea of "PHP is the simplest to develop in, it's just uploading a file" (paraphrasing) shouldn't be taken at face value, and that's why I pointed out some of the complexities when working with PHP that PHP developers tend to forget (or some ignore).
But, because PHP is so easy to get started with, a lot of the complexity initially gets hidden away, and sometimes people learn about it the hard way.
JavaScript used to be much the same, but it has gotten better in the recent years. Maybe PHP has gotten better in this aspect too, but I could be ignorant because I've not been keeping up with PHP as much
Re: PHP is worth learning and using
#298Earlier quoted context omitted.
I haven’t used PHP in over a decade. I can never forgot how much PHP got wrong in terms of how application development on the internet would happen. The ergonomics of using it were just… bad compared to other frameworks that came on the market. I remember when rails came out and it was so mind blowing compared to PHP. The language was certainly useful for a time, and I’m sure the language has progressed since, but sw…
Comparing Rails to PHP is unfair given that one is a framework and one is a programming language. Compare PHP and Ruby or Rails and Laravel to keep things apples to apples and oranges to oranges.
Re: PHP is worth learning and using
#299I have used PHP for years. I like it too. Its tight integration with http is nice. The PHP language can be used as a templating language itself: Hello
Re: PHP is worth learning and using
#300Earlier quoted context omitted.
I used to believe this, but... But that's just not true. All the things you mentioned are a yum/apt/nix/pacman/ install away on Linux, and probably as simple to install on macOS. I'm sure Windows has installers for these, too. So, it's no harder to develop in them than it is in PHP. You could argue it's cheaper because you don't have to pay for a shared hosting provider to host your files. However that's a bit moot s…
If you don’t manage your own servers I don’t think you can call yourself a professional developer. “My hosting provider doesn’t let me do X” is a lame excuse with cloud servers in the $10/mo range. I do a lot of work with PHP, both legacy and new code. The number one mistake I see with PHP sites set up by amateurs or cheap hosting services is running Apache+PHP on the same server as MySQL or Postgres. Separate those…