News for hackers. Stuff that matters.
Re:How to stop functional programming by jimbokun on Tuesday February 23, 2016 @02:14PM (#11161483)
I'm having trouble understanding your definition of "refactoring", then.

When I refactor, it's almost always to eliminate repetition and make the code more concise. But doesn't the same thing happen in a functional program? If you find the same code twice, refactor into a single function.

Re:How to stop functional programming by goalieca on Tuesday February 23, 2016 @03:34PM (#11162090)
I'm getting at the idea of having to rearrange the code inside classes because your original assumptions have changed. Sometimes this involves moving stuff between classes. This is especially messy if the class has any member variables or relies on private functions.