JM> Z := power(x,y) works but definitely is uglier than Z = X**Y in
JM> how it works.
JM> Justin Marquez
JM> Artichoke BBS, Houston, TX
SB> I think I would be a bit more concerned with how efficient it was and
SB> well it worked rather than making it look like what you are used to.
SB> Just my opinion.
How it works is my concern. How it "looks" is important, too, because
maintaining code which is difficult to decipher makes the job harder later
on. After a while, you have so many nested parentheses that the statements
begin to look as if they were written in LISP. (Which probably stands for
"Lost In Stupid Parentheses").
I have always ASSUMED (possibly dangerous to do so...) that a
user-written routine built from high-level compiled language statements was
likely to be less efficient than the code used in writing the built-in
operators of the language. If DELPHI was indeed written in DELPHI, maybe that
isn't true. (However, DELPHI seems reasonably fast.)
If I am wrong, then assembly language programmers are henceforth out of
work!
Justin Marquez
Artichoke BBS, Houston, TX
--- OPMED 3.20wb
---------------
* Origin: The Home Point (1:106/100.1)
|