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.
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.
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.