Subject Re: [Firebird-Architect] Schemas
Author Adriano dos Santos Fernandes
Andrew Berg escreveu:
> ________________________________
> Dimitry Sibiryakov <sd@...> sez:
>>> Yet, this hasn't stopped the development and adoption of Object Pascal...
>> Huh! And you know how this "Object Pascal" is done. As an usual
>> Procedural Pascal with one invisible parameter "self" in each procedure.
>> I don't see big advantage of "Object.Method(0);" in front of
>> "Method(Object, 0);".
>> Actually, it is often more like: "Object._virtual_method_table[_Method_id](Object, 0)" (with perhaps a bit more punctuation thrown in, it's been a few years since I've written much Pascal). I would consider this something of a saving, since the _virtual_method_table and the _Method_id are both automatically generated and I don't have to do anywhere near so much typing each time.
> Admittedly, I don't know too much about schemas. Are they really just a namespaceing feature, or do they do something extra?
They may be more than namespace. For example, DDL triggers may be
per-schema instead of per-database.