Por qué el fundador de CD baby ha abandonado Rails y vuelto a PHP
domingo, septiembre 23, 2007 at 11:06PM Ya sé que la historia no tienen nada que ver con Java, pero sí tiene mucho que ver con la programación y creo que todos podemos aprender alguna lección de ella. CD baby es un portal dedicado a la venta de música de artistas independientes; tiene bastante éxito y emplea a cerca de un centenar de personas. Su fundador, Derek Sivers, decidió hace dos años migrar todo el portal de PHP a Rails; en su día fue una noticia bastante sonada y los defensores de Rails lo consideraban como una medalla que se podían colgar en el pecho.
Dos años más tarde, y a pesar de haber contratado a un gran gurú de Rails, el proyecto se ha estrellado completamente y Derek Sivers ha decidido abandonar la base de código Rails y volver a PHP. En una extensa entrada en su blog explica los motivos que le ha llevado a tomar esa decisión. Uno de los motivos, algo que he escuchado en más ocasiones, ha sido la falta de flexibilidad de Rails cuando intentas hacer algo en lo que no han pensado sus desarrolladores. Otro, la complicación para integrar Rails con todas sus aplicaciones "legacy".
Derek Sivers hace varios comentarios muy interesantes:
For 2 years, I thought Rails is genius, PHP is shit. Rails is powerful, PHP is crap. I was nearly killing mycompany in the name of blindly insisting Rails was the answer to all questions, timeframes be damned. But when I took a real emotionless non-prejudiced look at it, I realized the language didn’t matter that much. Ruby is prettier. Rails has nice shortcuts. But no big shortcuts I can’t code-up myself in a day if needed. Looked at from a real practical point of view, I could do anything in PHP, and there were many business reasons to do so.
O su opinión sobre los lenguajes de programación: cuántos más aprendas mejor programador serás, porque las lecciones que aprendas en un lenguaje que permitirá programar mejor en los demás, incluso si los otros lenguajes no tiene soporte directo para lo que has aprendido:
PROGRAMMING LANGUAGES ARE LIKE GIRLFRIENDS: THE NEW ONE IS BETTER BECAUSE *YOU* ARE BETTER
Rails was an amazing teacher. I loved it’s “do exactly as I say” paint-by-numbers framework that taught me some great guidelines. I love Ruby for making me really understand OOP. God, Ruby is so beautiful. I love you, Ruby. But the main reason that any programmer learning any new language thinks the new language is SO much better than the old one is because he’s a better programmer now! You look back at your old ugly PHP code, compared to your new beautiful Ruby code, and think, “God that PHP is ugly!” But don’t forget you wrote that PHP years ago and are unfairly discriminating against it now. It’s not the language (entirely). It’s you, dude. You’re better now. Give yourself some credit.
Sólo añadir una cosa más: bravo a Derek Sivers por hacer algo que prácticamente nadie se atreve a hacer: fracasar y contar a todo el mundo su fracaso para que los demás podamos aprender de él. Muchas gracias Derek .
otro 
Reader Comments