Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • I was expecting that answer. The hard part how to fix it. Commented Apr 29, 2015 at 8:58
  • @cap7 Refactor it. Slowly and carefully. Commented Apr 29, 2015 at 9:00
  • I've already started. For example, I've a class that only handles the database querying. Since that class has no state and is just a series of related methods that, when given an input, will give you an output, it's is defined as static and once the methods are finished I just forget them. I don't know if that is the best option. Commented Apr 29, 2015 at 9:08