Would you refactor this and if so, would you charge your client?
- by Julius
I am working on a freelance job at home. The client wants me to write some new functionality for his CMS, but it is taking me a lot of time to figure out what the code is doing, because it is written in a very unreadable style.
Below is just an example of what I mean. The previous programmer made extensive use of anonymous functions, of eval(), he…