On Tue, Aug 21, 2012 at 10:23 PM, leledumbo <leledumbo_c...@yahoo.co.id> wrote:
>> Requiring all functions to be allways fully qualified will make the
> most commom case worse than current implementation just to be better
> for the uncommon case. This is a step back, not forward...
>
> Indeed, and the way unit system works has an advantage: changing entry order
> / entry name in the uses clause can change the program behavior as intended
> without changing other parts. Say, I have GraphicsDirectX and GraphicsOpenGL
> unit, both having the same interface, simply changing this in the uses
> clause could do a backend switch easily.

Yes, this is cool but you can got problems, as Timothy Madden said in
this thread.
I am not proposing break this feature -- because I use it too! -- but
add one more.

Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to