A module is a static class.

It's like using the static keyword on each procedure of a class... And
a procedure is not instanciable so all other classe call the same
instance in fact.

2013/11/9 PICCORO McKAY Lenz <mckaygerh...@gmail.com>:
> in development another manpower make factory connections
> to postgres database as module, and i use class instanciation
> for connections to database..
>
> what its the behabior difference and implicit consecuences.. ?
> i mean, my partner call directly as static methods/functions
> the create¡ion of conections, making tables etc,
> rather than me, that instanciates the class and then call functions
>
> or at least what its the difference if  i use only modules event
> classes in a project?
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to