Code Refactoring
The project I’m working on right now is just beginning but it’s also a reworking of an older system. So we began by looking at the old code and refactoring what we need out of it and into the new more organized code base. Unfortunately, that means we have to look at the code base. I’m in the process of moving over the UI search result parsing and display code. Unfortunately, the core principle of MVC that the view be as stupid as possible was essentially ignored. It’s not like the page is making database queries on its own but the process by which it obtains the search results is so circuitous and byzantine, I can’t see where the UI ends and the back-end code begins. It’s more complex than the plot line to The Da Vinci Code. Which isn’t to say that the Da Vinci Code was a complex story, but that it was visually complex. As Shakespeare once said of life: it is a tale told by an idiot, full of sound and fury, signifying nothing.
Write a comment: