Should I rewrite the whole PHP codebase to Python?
https://news.ycombinator.com/item?id=5488448The 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!