| tl;dr, Honest apology, and honest rant around people who litter HN with stupid posts. I was a bit harsher than I should have been, but I also see quite a bit, and it's encouraging. Sure, if you look around github and SF, you see a lot of libs/class that aren't built for Zend or Symfony, but then they shouldn't be built around a specific framework. Heck, even Zend/Symf attempts to make each component indecent and replaceable. And while you have big names like Drupal and Wordpress, people constantly prop those up as if somehow they are prime examples of professional level PHP code. It would be like me saying Ruby can't run on busy websites and use Twitter as an example. It's just old news. And regardless of when you started PHP, it's fairly clear you haven't been as involved with the community over the past few years (or if you have, nothing in your comment gives that impression). Otherwise, you'd know about all the projects that are being launched/have been launched on top of frameworks. Open source projects, community projects using Zend, Symonfy, CI, etc. The professional PHP community isn't made up of some rag tag group of people who don't know better. It's made up of incredibly smart people who write excellent code. I'm sorry, but nothing in Python or Ruby or any other language makes you a better programmer. They are excellent languages, but I've yet to meet a language that can fix stupid (though, some support it better than others). I'm sorry if I offended you. But, I enjoy PHP. It's an amazingly flexible language. Yes, it has warts, but it gets frustrating every time the topic comes up on HN, people rag on it like somehow it's the worst thing since sliced bread. It gets tiresome. Worse than that, it gets insulting. And for what? What's the point? What's the fucking point? I could easily point to Diaspora's initial launch and say "Yeah, awesome! That's what all that money buys you for an awesome open source Ruby project." But I don't. Because it's stupid. Its childish. Its pointless. So yeah. I get it. PHP is the red headed step child that everyone likes to beat on. And that I like it makes me an immature stupid twit that doesn't know the first thing about programming. My respect for fellow professionals be damned, as they don't have a clue either. And by choosing PHP as my choice for a web language is based on clear brain damage at the hands of too many cold winters up north. So yeah, this is me venting. And I don't mean to do it all over you. But it gets tiresome that every time there is a post about PHP, it has to consist of people bad mouthing anyone who chooses to use PHP, let alone the topic at hand. Sorry for going apeshit all over this, and sorry for ragging on you. Your commentary is generally well appreciated. It's just getting tiresome, and I guess a part of me responds to all the comments in one. |
..."it's fairly clear you haven't been as involved with the community over the past few years (or if you have, nothing in your comment gives that impression). Otherwise, you'd know about all the projects that are being launched/have been launched on top of frameworks. Open source projects, community projects using Zend, Symonfy, CI, etc.
What in my comment should give that impression? Maybe I still don't get it. Yes, there are projects being built on top of frameworks. (I started zfkit some time ago, although other people have done much more in that area than I have). I've done project work using various frameworks.
I'm not ragging on PHP at all, and don't really know where you got that from. To the extent I'm seemingly ragging on Symfony, it's only that it's complicated and doesn't speak to everyone's needs. Many people still really just need a <?=$name;?> type language to suit their small needs, and PHP works great for that (as well as works great for many larger scale projects as well).
Honestly, really, I hope you were reacting to someone else and I just got caught up in this as a misdirected target. I teach PHP for Zend, have certification, just got back from Zendcon, and use PHP for about 70% of my work (using various frameworks). I enjoy PHP too - again, not sure where you're getting some idea that I don't enjoy it.
Oh... yeah, I said that the language can't do some things I can do in Groovy (or Ruby). Yeah, things I enjoy and like. You know something, learning other languages has made me a better developer, both in PHP and in those other languages, because I can appreciate idiomatic PHP as much as idiomatic $lang. PHP's taken some cues from other languages and implemented neat things, some of which make things easier. I still don't like the syntax of things, and we don't have the same sort of metaprogramming facilities I enjoy in Groovy. But I'm not complaining - I love them both equally.
What does annoy me is that people can't put out a "negative" view of PHP without raising the sort of rant you just posted here. Just because someone points out that PHP is missing something, it's not an automatic assault on everyone who uses PHP, nor is it stating that everyone who uses PHP is somehow an incompetent idiot. I'm pretty damn impressed with some of the stuff I see from people in the PHP community after all these years. I do wish some of them would at least acknowledge that other languages/platforms have some cool stuff in them too. That's happening, but far more slowly than I'd like to see. Even at Zendcon, there was a bit of an "us vs them" mentality I picked up in the hallway comments, and that saddens me.
At a CF conference a couple years ago someone brought up PHP and made some joke about people needing training wheels. WTF - this from a language that didn't allow user defined functions for the first X years? And somehow you think PHP is a 'toy'? Every platform/lang has pros and cons, and the factionalization and party politics are really starting to get me down - it's actually part of the reason I don't get in to various frameworks too much (I marginally use ZF as a default unless there's some reason not to). Even inside PHP, the framework zealots like to bash each other's frameworks (Cake vs ZF vs Symfony, etc) - they all suck and are all great - just use something and get your job done.
re: Diaspora - I'd say a year ago, public criticism might have had a chance of changing direction to get something more valuable out of it. Today, yeah, public criticism is pointless, as it is for more frameworks - you either like it or you don't, and move on.
So.. yeah, this was a big rant reply. You triggered a lot of thoughts, but overall, I think we're in agreement about a lot of things. People often dismiss PHP as a toy still - but PHP people do it to others as well (listen to PHP people dismiss Perl, Java, etc).