Re: Categories and splitting an app into logical blocks.

2009-05-16 Thread Greg Guerin
t meant to suggest JDBC is the best or only way to create a database interface. It's just to illustrate that creating a class Database and a category Reading, which don't naturally emerge from breaking the problem down, could be a poor way to solve the problem. -- GG Subje

Re: Categories and splitting an app into logical blocks.

2009-05-16 Thread Fritz Anderson
On 15 May 2009, at 2:57 PM, Тимофей Даньшин wrote: Is it a good idea to split all those classes into categories for writing, reading and testing? For example, Database (Writing), Database(Reading), Database(Testing) and so on? Or is it a silly thing to do for some reason? That's something

Re: Categories and splitting an app into logical blocks.

2009-05-15 Thread Erik Buck
Is it a good idea to split all those classes into categories for  writing, reading and testing? For example, Database (Writing),  Database(Reading), Database(Testing) and so on? Or is it a silly thing  to do for some reason?   Maybe ?  What trade-offs have you considered ?  On reason to use cat

Categories and splitting an app into logical blocks.

2009-05-15 Thread Тимофей Даньшин
Hello. Suppose, I have an app that, for example, works with a database. It can write to the db, it can select things. There is a class that works with the database, a class that controls that class and a class that interacts with the gui. And, of course, there is some testing code in all