Which of these is the best development approach?
- Write all the functionality of a module as objects, then write and export functions that internally creates an object and calls it's methods.
- Write all the exportable and internal functions or subroutines, then write code for an object and all the required methods as an interphase to the functions.
I'm thinking in the case of a brand new module, written from scratch, not a group of subroutines taken from personal libraries and put together in a .pm.
PD: Shouldn't this be posted in Meditations?