News for hackers. Stuff that matters.
Re:PHP to deprecate MySQL extension by SeoxyS on Friday July 15, 2011 @12:57PM (#2768141)
This is the kind of mess when you have 5 different libraries to do the same thing. PHP should never have allowed there to be multiple MySQL, Mamcache, etc. extensions.

Instead, they should have introduced the new libraries in a big version bump, and immediately deprecated the old and unsafe libraries. A couple languages / frameworks that are good at doing this is Apple with Cocoa, and Ruby / Rails.

Re:PHP to deprecate MySQL extension by pavel_lishin on Friday July 15, 2011 @01:42PM (#2768338)
And thus ensured that either you upgrade your version of PHP and instantly break your application, or that you stick with an older version with potential security flaws, and never bother updating again?

Bonus points if you're not actually in control of the version of PHP your web app runs on.

Re:PHP to deprecate MySQL extension by SeoxyS on Friday July 15, 2011 @03:10PM (#2768650)
Being forever backward-compatible is a curse that prevents innovation and makes you end up with the mess of a language that PHP is.
Re:PHP to deprecate MySQL extension by pavel_lishin on Friday July 15, 2011 @04:08PM (#2768866)
I agree, but you don't have to be backward-compatible forever - you can deprecate features gracefully.
Re:PHP to deprecate MySQL extension by Que on Friday July 15, 2011 @05:20PM (#2769159)
Only 5 different ways to do this?... that sounds like the most concise thing in ALL of PHP.