dicarsio
dicarsio on Hacker News
Posted by
dicarsio on Saturday November 03, 2012 @12:35AM
from the ask-hn dept.
This question sounds like crazy right? Just humor me :)What is your preferred name of all the PHP Built-in function?Disclosure: doing a study!
I mean that, model bits are inside controllers, for example :-)
One of the major problems within this project are poorly written, slow db queries, MVC is not correctly implemented (although using an MVC-based Framework, function names not intuitive. I can improve, refractor some aspects of the code, but the time that will took to fix it can be more than the time to recreate it in another framework. What do you think?
The code was written by outsourced people. And yes - another developer already talked about a rewrite, but it was postponed. Thing is, if we postpone and add lots of features, it will cost more to do it later!
We can always rewrite portions of it, and make it more stable, but I truly believe in a rewrite - while the project is "young".
Another factor is the lack of budget in the project =/
An incremental refactor is a possibility too, but almost everything must be refactored.
That's not the case, as there is another project in the same company with very good codebase made by one team, however, the one written by another team, sucks :-)
I guess I'll try that. The code is poorly written and with possible bugs in it, so I can show a lot of problems to prove my point.
Posted by
dicarsio on Saturday April 16, 2011 @07:11PM
from the ask-hn dept.
What should you do when you see a very bad codebase and feel that the best - and cost effective way to complete your tasks efficiently, is to rewrite the entire project and your boss is in a hurry and wants to create fixes?