Yes
Usually, you would write those just once, make sure they works as intended, and then never touch them again.
The advantages are that you can copy the modules containing the functionality to other projects as reusable components and, equally important, that you don't pollute the global...