I\'ve got a few functions that deal with cookies. Would it be a horrible idea to group them by moving them to a class of their own and use them as static methods?
F
It would be a great idea, provided you are fully aware of the caveats involved. This is known as the Utility Pattern:
Good candidates for utility classes are convenience methods that can be grouped together functionally.