News for hackers. Stuff that matters.
Re:Notes from porting C# code to PHP by mgkimsal on Tuesday October 26, 2010 @08:51AM (#1833963)
Not sure I've read a more balanced view of PHP's pros and cons as it relates to a real life programming project (in comparison to another language) in a long time. Perhaps ever. Nicely done, imo.
Re:Notes from porting C# code to PHP by moserware on Tuesday October 26, 2010 @08:54AM (#1833975)
Thanks! I was tired of all the language-bashing out there and wanted to look at it objectively.
Re:Notes from porting C# code to PHP by mgkimsal on Tuesday October 26, 2010 @09:08AM (#1834007)
Well, you've done so.

Personally, one of the reasons I think PHP will continue to do well is the accessibility which is helped with the basic documentation. Can't remember how something works? php.net/foo. http://php.net/strpos - you get the 'official' docs, along with wiki-ish input from the community about gotchas, workarounds, extra tips, etc. Makes a big difference to many people compared to http://download.oracle.com/javase/7/docs/api/java/lang/Strin..., for example.

Re:Notes from porting C# code to PHP by ceejayoz on Tuesday October 26, 2010 @10:25AM (#1834285)
Yeah, PHP's docs are one of the truly phenomenal bits about the language. I've yet to see another language get this as right as PHP does.
Re:Notes from porting C# code to PHP by narrator on Tuesday October 26, 2010 @11:44AM (#1834621)
PHP will continue to do well because it is the most extreme example of the "Worse is Better" (http://www.jwz.org/doc/worse-is-better.html) design style. "Worse is Better" software designs (e.g Unix, C) have shown to be far more popular in the market than more elaborately designed systems (Common Lisp, etc).
Re:Notes from porting C# code to PHP by docgnome on Tuesday October 26, 2010 @11:46AM (#1834628)
The comments are something I avoid about PHP docs. There are lots of bad PHP programmers who feel the need to help everyone else by posting their terrible implementation of X which people then just blindly copy... I like the idea, but in practice, I don't think it works very well.