One of the ways that WordPress plugins come to be is that, at least in my case, they start off as a collection of functions used to help with a particular purpose for a given project. From there, you think “Hey, maybe someone else will find this useful.”
At least that’s been my experience more often than not.
But the thing is that before you release it for other people to try, you want to go through the process of cleaning up the code. I’m not talking about refactoring WordPress plugins, either – at least not yet.
I’m talking about taking the code, bringing it up to something that will work as a WordPress plugin, and then possibly refactoring the code.

