in reply to Newbie OO module-structure question
If you're thinking in terms of breaking it into tasks with a main module that has the core code, then you've probably already taken a wrong turn at OO. Tasks are verbs. Object-oriented code is structured around nouns.
So rather than having a module for archiving old files, you might have a class for representing files, and one of the methods it provided might be archive.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Newbie OO module-structure question
by Anonymous Monk on May 01, 2019 at 11:56 UTC |