Should I rewrite the whole PHP codebase to Python?
The codebase is about 100K lines, and it is a private internal website for a publisher company. It is getting harder and harder to maintain the codebase and add new features into the existing system, simply because I have some bad designs and also some bad implementation in PHP. In another way, I think Python is easier to write code and easier to maintain than PHP.
And to refactor the existing code might not be an option, because I want to redesign the whole system from scratch. If I had an opportunity to rework on the codebase, should I rewrite it again in PHP or rewrite it in Python?
Thanks a lot!
3 comments
[ 3.7 ms ] story [ 18.4 ms ] threadI've heard this over and over and have experience with projects where this was attempted. It's never gone well.
"...the single worst strategic mistake that any software company can make: They decided to rewrite the code from scratch." -Joel Spolsky
http://www.joelonsoftware.com/articles/fog0000000069.html
Also read: http://timross.wordpress.com/2010/03/15/if-you-must-rewrite/
Rewriting anything from scratch is generally frowned upon, but you also have to consider this is not your company so I doubt you'd even get the go-ahead to make the transition.