Re:Ask HN: How to tell someone you need to rewrite an entire...
by dicarsio on Saturday April 16, 2011 @10:03PM
(#2455383)
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?
[ Parent
| on HN ]
Re:Ask HN: How to tell someone you need to rewrite an entire...
by jtheory on Sunday April 17, 2011 @10:27AM
(#2456185)
Poorly-written queries are very easy to refactor -- fix one query at a time, correct indexing strategy gradually, etc.
Likewise, function names are ideal to refactor -- many IDEs will automate this for you.
I don't know your situation, but this sounds to me more like framework envy (and I base this on experience... I've worked with projects on a lot of crappy and/or homegrown frameworks before). If you haven't actually done any major projects in the newer framework yet, that's a bad sign as well, I'm afraid. :)
On a more positive note -- it might be possible to incrementally move to a new framework. It's harder if you want to switch languages/environments completely, but if not, it's probably quite feasible (switch over a feature at a time). If both frameworks can access the same session storage... that's likely the main tricky aspect.
Re:Ask HN: How to tell someone you need to rewrite an entire...
by triviatise on Sunday April 17, 2011 @08:17AM
(#2456005)
for me the question is still, what problems is this causing? slow db queries can easily be isolated and unless they have done something like every write to the database creates an object which then gets converted to a sql transaction, function names can be fixed with global search and replace. Not sure what you mean by MVC is not correctly implemented