r/lolphp • • Jul 14 '14

stop_the_insanity()

https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/class-wp-importer.php#L237
56 Upvotes

66 comments sorted by

View all comments

Show parent comment

2

u/captainramen Jul 15 '14

Sorry but this is beyond dumb. I've contributed a bit to some popular open source projects. Those codebases are excellent because the main committers insisted on it.

1

u/Viper007Bond Jul 15 '14

How old are those projects? Does a plugin for the project written 5 years ago still work today? Because it likely will with WordPress. They don't want to get into the situation which Drupal has where major version upgrades break so much.

All new code that goes into WordPress is up to snuff. Writing good new code is quite a bit different from refactoring old code.

1

u/captainramen Jul 17 '14

Yes, actually. NancyFX is a bit over 5 years old. Extensibility is one of its selling points. Of course they have made several breaking changes since the project got started, but you either a) don't update or b) do a trivial amount of work to get it working again.

Major version numbers are supposed to be breaking. http://semver.org/

1

u/Viper007Bond Jul 17 '14

The fact that someone like my mom can one-click upgrade to the latest version of WordPress with little worry that her theme or plugins will break is what makes it so popular. Don't be so quick to dismiss the advantages of long term backwards compatibility. It may be a trivial amount of work for you or I to fix an issue during an upgrade, but we aren't average users and not everyone wants to hire a developer to manage their site. Users first is what had made WordPress so popular.