Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The Coders Lexicon:
My Love / Hate Relationship With PHP Traits
Feb 11, 2013 @ 18:50:45

On the Coder's Lexicon site, there's a recent post talking about the author's love/hate relationship with PHP traits, a relatively new feature of the language that apps for more "drop-in" functionality similar to mixins in other languages.

When I saw the introduction of PHP traits in 5.4.0 I was eager to learn all about them and how they worked. [...] PHP traits, in my opinion, are handy and very flexible. I guess that is the “love” part of my relationship with them. [...] However, I feel that traits also meddle with a bit of the inheritance rules that have been proven time and time again. Is it possible to love as well as hate something at the same time?

He talks first about "the love" he feels for using traits in his code. He talks about their usefulness for geting around PHP's single inheritance structure and being able to "bolt on" functionality as needed. Then comes "the hate" of them, noting that in the wrong hands, they could lead to very messy and lazy coding practices (including the deadly diamond of death problem).

tagged: love hate traits good bad example mixin opinion

Link:

PHP-A-Day Blog:
Commentary: Why Do People Hate PHP?
Jun 01, 2012 @ 13:49:16

On the PHP-Tip-A-Day site today Greg Bulmash shares some of his thoughts about why people hate PHP.

I recently read Kevin Schroeder's blog post about 10 Reasons To Use PHP. Then -- silly me -- I started reading the comments. It only took a few before the obligatory anti-PHP hater came out and started insulting the language and the people who use it. That made me think about why that hate exists.

He points out that some of it probably has to do with people not really understanding what PHP is all about (no, reading a blog post dosen't make you an expert on it) and mentions PHP's dynamic typing as a sticking point with several developers.

Usually someone hating on PHP does so because they don't understand it, are upset by what it lets people get away with, feel it makes it too easy for someone to earn the title of "developer," or because they're dicks who have to insult other people because they can't simply be happy with their own choices.
tagged: opinion commentary hate language choice

Link:

Community News:
"Developer Hell" Podcast
Dec 13, 2011 @ 19:16:19

Chris Hartjes and Ed Finkler (two well-known PHP community members) have started up a podcast where they talk about, basically, whatever they want in their "piss-and-moan-driven-development" style. In their first episode, they talk about what they hate about PHP.

Listen to a couple old dudes complain that they don’t like PHP anymore. Yes, I know, this sounds pretty compelling.

They specifically mention the PUT method support in PHP. You can download the mp3 (about an hour and a half long) and check out the two hosts on Twitter: Chris and Ed.

tagged: podcast developerhell hate language put http

Link:

DZone.com:
What I Love/Hate About PHP
Apr 20, 2011 @ 14:05:20

On DZone.com today there's a new post from Eric Hogue talking about the love-hate relationship he has with PHP (as a developer of five years with it).

I have been programming in PHP for 5 years now. I did not choose this language, I had to learn it to work on the code of the company my bosses bought. Since I started, I heard many rants about how bad PHP is. Some where valid, but a lot of them are just blaming the language for bad code written by bad programmers. I am by no mean an expert in programming languages or PHP, but here is my take on the language I use every day.

His "good" section mentions one of the most popular things about the language - its quality of documentation. He also talks about the interactive shell and the community that surrounds the language. In the "bad" category, though, he points out things like the low barrier for entry ("a blessing and a curse"), the changing order of parameters in function calls and that a constructor of a child class doesn't automatically call the parent's constructor.

tagged: love hate opinion language documentation easy community

Link:

Matt Curry's Blog:
.8 Reasons to hate CakePHP
Dec 30, 2008 @ 18:06:54

In response to this recent post on four reasons to hate CakePHP, Matt Curry has posted some of his thoughts over on his pseudocoder.com blog to refute the comments made.

I'm still bored and lacking posting ideas, so I figured I'd give a hyper-critical breakdown of "Four reasons to hate CakePHP" by A.J. Brown. Let's get right into it.

He responds to comments on: CakePHP's "heaviness", the (in)flexibility the framework allows, alpha releases, changes between versions, no namespace considerations and its use of global functions.

You can see the original post here: Four reasons to hate CakePHP as well as his AJ's own response to comments he recieved - Maybe I was too hard on CakePHP.

tagged: reason hate cakephp framework response breakdown critical

Link:

Des Traynor's Blog:
I hated php back when it was cool
Feb 23, 2006 @ 13:26:24

Des Traynor shares some of his opinions on PHP in his latest blog post - "I hated php back when it was cool".

This is a short smug entry, written in the "Yeah, well I liked them before they even had a record deal" style associated with trend snobs. Except in this case, its the opposite, I am claiming that I hated something back when it was cool. Thanks to blogging my opinion earlier, I even have proof! PHP should stand for Pretty Huge Problem.

He mentions some of the rants, langauge switchers, and general complaints that have come up about PHP, including the combination of code and HTML, the "safe mode" feature, and PHP's "battered on" nature of development. He also goes off a bit on the (inevitable) backlash that Rails and Ajax will see in the future, and wonders how far off it will be.

tagged: hate back when cool complaints rants backlash rails ajax hate back when cool complaints rants backlash rails ajax

Link:

Des Traynor's Blog:
I hated php back when it was cool
Feb 23, 2006 @ 13:26:24

Des Traynor shares some of his opinions on PHP in his latest blog post - "I hated php back when it was cool".

This is a short smug entry, written in the "Yeah, well I liked them before they even had a record deal" style associated with trend snobs. Except in this case, its the opposite, I am claiming that I hated something back when it was cool. Thanks to blogging my opinion earlier, I even have proof! PHP should stand for Pretty Huge Problem.

He mentions some of the rants, langauge switchers, and general complaints that have come up about PHP, including the combination of code and HTML, the "safe mode" feature, and PHP's "battered on" nature of development. He also goes off a bit on the (inevitable) backlash that Rails and Ajax will see in the future, and wonders how far off it will be.

tagged: hate back when cool complaints rants backlash rails ajax hate back when cool complaints rants backlash rails ajax

Link:


Trending Topics: