| Subject | Questions of style, slightly off topic. | 
|---|---|
| Author | Joseph Carney | 
| Post date | 2001-01-25T14:46:24Z | 
I am currently in a discussion with another programmer about coding style,
with each of us
having different opinions.
Normally when I am referencing either an IBOQuery or a IB_Query I reference
with:
query.fieldbyname('fieldname').AsString.....
My compatriot seems to prefer:
query.Fields.FieldByName('fieldname').AsString...
My question is, which method is more efficient in terms of runtime execution
speed?
Is the extra typing worth it?
Just trying to settle a friendly difference of opinion.
Joe Carney
West Palm Beach, FL
jcarney@...
            with each of us
having different opinions.
Normally when I am referencing either an IBOQuery or a IB_Query I reference
with:
query.fieldbyname('fieldname').AsString.....
My compatriot seems to prefer:
query.Fields.FieldByName('fieldname').AsString...
My question is, which method is more efficient in terms of runtime execution
speed?
Is the extra typing worth it?
Just trying to settle a friendly difference of opinion.
Joe Carney
West Palm Beach, FL
jcarney@...