>Hi,
>
>I am deciding where to place routines: in library objects or library routines.
>
>In 2.6 I use PROCEDURE files or otherwise place them in the calling path. In VFP, USE PROCEDURE ADDITIVE seems a very attractive alternative because it allows organization of routines. However, many say that the OOP way is to keep routines as methods of objects.
>
>I understand that Drew Speedy prefers library routines over library objects unless you anticipate subclassing them in the future. Among his reasons are speed and the fact that they automatically participate in the data session in which they are called.
>
>What do people here actually DO ?
>
>TIA,
>
>Alex
Hi Alex,
IMHO, there is nothing wrong in having procedure file or even procedures in separate PRGs. In many cases it is more "economical" if compared with the need to instantiate the whole procedure object for testing something.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison