|Feedback for compiler project firstname.lastname@example.org (2001-09-20)|
|Re: Feedback for compiler project email@example.com (Joachim Durchholz) (2001-10-06)|
|Re: Feedback for compiler project firstname.lastname@example.org (2001-10-10)|
|Re: Feedback for compiler project email@example.com (Joachim Durchholz) (2001-10-12)|
|Re: Feedback for compiler project firstname.lastname@example.org (2001-10-12)|
|Re: Feedback for compiler project email@example.com (2001-10-13)|
|Re: Feedback for compiler project firstname.lastname@example.org (2001-10-13)|
|From:||email@example.com (J.van Iddekinge)|
|Date:||10 Oct 2001 15:51:14 -0400|
|Posted-Date:||10 Oct 2001 15:51:13 EDT|
Thanks for responding.
First of all the java-script problem: I thought i removed the
java-script. I Had some script in www.elaya.org/index.html. (Which
was accidental) But 5 Oct (Cet) I added a redirection in .HtAccess
file, so this page should be skipped. I tested this morning with Lynx
Ok. Could you look it again? When you access www.elaya.org you should
get www.elaya.org/main/showitem.php3?id=1 and not the gray page with
at the side.
I suppose you are a OOP programmer. The problem is that dynamic
routine has some similaties with OOP, and that can cause some mixup.
When I started testing dynamic routines I had the same reaction. Later
I discovered that it is not true.
The only argument you give that dynamic routine they are not useful
because it is not possible override several function. First this is
not true, it is possible and second this is irrelevant.
What is relevant are the follow facts:
Dynamic routines and oop are based on the following facts:
1) Grouping different identifiers or other parts together.
2) Inheritance for similarities
3) Virtual/Override for adding flexibility because of differences.
this has several advantages/application:
3) Code Reus.
5) Association data and ...
Dynamic routine and Oop have both the same kind of advantages but the
first is related to process and the second to objects. But when
dynamic routines and oop are combined, the properties of both are
combined and strengthened, and weaknesses of both systems can be
If you have a linked list (what hap-ends often in compiler) It can
have different routine which scan the list:
All 3 methods have in common that they scan the linkslist:
1) Set Scanning Variable at beginning
2) Check if end of list is reached
3) Check if scanning must be stopped.
4) Do Something.
Dynamic routines can use these similarities:
PrintContents inherit ScanLinkLIst
FindInfoByName inherit ScanLinkList
ValidateInformation inherit ScanLinkList
Another example is usage of object:
vlQuery.Sql="select * from SomeTable where name="+vlCond;
The TQuery object can be wrapped in a dynamic routine :
inherit ExecQuery('select * from SomeTable where name='+ParCond)
vlId1 := FieldByName('id');
vlId2 := FieldByName('id);
or short notation:
vlId1 : long;
vlId2 : long;
ExecMyQuery('select * from SomeTable where name'+ParCond) with
vlId1 := FieldByName('id');
vlID2 := FieldByName('id');
This has an advantage that you don't need to bother about creating and
destroying the objects (or exceptions).
(There are more situation where dynamic routines can be use but I
this is enough).
Keep in mind that there are several points:
* Elaya doesn't contain OOP yet!!!
* The current implementation of Dynamic routine is a first step for
a better representation of processes. Many features are still
* There are far more thinks to consider when judging dynamic routines.
But because I am still investigating the relation between object and
dynamic routine and because lack of time, I can only give this limit
amount of information.
Return to the
Search the comp.compilers archives again.