5 ms·
You realize PHP powers well over 70% of websites around the world? Why wouldn't people use it, and create new things in it? Sorry you had horrible experiences
by jtreminio 13y ago
You realize PHP powers well over 70% of websites around the world?
Why wouldn't people use it, and create new things in it?
Sorry you had horrible experiences with it, but seriously, get off your high horse.
- clienthunter 13y agoDon't make it personal - I'm trying not to insult PHP here, and certainly not you. I'm not on a high horse, I just don't get it! Fine, sometimes we have to work with things we don't like. I get that - am I going to do anything beyond what's necessary and start writing libraries for it? Not on your nelly... I can't be that wrong because for all PHP's ubiquity, it still doesn't have a ubiquitous package manager (that works) for sharing these creations.
- krapp 13y agoNot everyone who works with PHP dislikes it. For some it's just a language which has some weird and unruly aspects which can be dealt with. That's what you don't seem to be getting... people work with it, even people who work with other languages, and find that it happens to fit into a particular niche for them. They write libraries for it and expand it because they find the language useful and expect it to continue to be useful for the forseeable future. And it doesn't suck as badly as it used to.
- MAGZine 13y agoComposer?
- jtreminio 13y agoHere's the thing - you're talking about something it's fairly obvious you don't know well at all. "still doesn't have a ubiquitous package manager"? http://getcomposer.org http://getcomposer.org
- clienthunter 13y agoOk I concede this might be less niche than I thought, it wasn't around when I last wrote PHP. Research error on my part. What else have I failed to realise? I'm entirely willing to believe that I'm wrong, I have a vested interest in learning, not being right - I almost want to be proven that I'm wrong about PHP.
- krapp 13y agoI think you may have failed to realize (as a lot of people have) that the language has evolved both in structure and in practice since you probably dropped it. Most of what people hate about PHP can be dealt with using a proper framework, autoloading and PDO (no more inline SQL queries ever), and most of the rest can be maneuvered around as with the gotchas of any language. Check out the Laravel community and look at Composer and take a look at what it's become if you're serious and it will become apparent that, while PHP still has its warts, it is entirely possible and practicable to use it and enjoy it, or at least not hate it. I don't know how much exposure has to count for "experience" since i'm still a student but i've written code in perl, python, c++, java and php and so far I find things to like and things I can't stand about each of them.
- anu_gupta 13y agoYou're responding to a troll. Probably best to not to give him the satisfaction.
- clienthunter 13y agoI most certainly am not trolling. I want some insight into why people decide to sit down and write PHP libraries like this, that's it. I want to understand the thought process. So far I've got necessity, and maybe that's the whole story, maybe not. I'd really like somebody to say "because I like to" - that's the conversation I really want to have. I would love to know why someone would say that, and not because I'm a troll, but because I do not like PHP at all and I have genuinely have no way of answering that question on my own.
- mtdewcmu 13y agoI spent about a year writing PHP, and I thought it was a fun language. You can write very compact code in it, I could write it fast, and I seldom had to do any difficult debugging. I saw some really bad PHP written by other people. But that shows how easy it is to write. Even people who are terrible at programming can figure it out, sort of.