home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!fuug!fipnet!light!terje
- From: terje@light.fipnet.fi (Terje Bergstr÷m)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: ** FINALLY - AN _GREAT_ AMIGA PROGRAMMING LANUAGE
- Message-ID: <-Joks*6l2@light.fipnet.fi>
- Date: Wed, 20 Jan 1993 19:56:15 GMT
- References: <thecure.727159005@munagin> <1993Jan16.191452.17673@cunews.carleton.ca>
- <mgwjs*Ig2@light.fipnet.fi> <1993Jan19.130248.15032@fwi.uva.nl>
- Organization: Fipnet - Espoo, Finland
- X-Newsreader: Arn V1.00 beta rel2
- Lines: 43
-
- I wrote:
- > AmigaE has a major flaw - it can't compile multible source files into one
- > executable, so it can't be used for large programs.
-
- Wouter van Oortmerssen answered:
-
- > Ahem, let me add to that:
- > 1. Amiga E compiles sources of 100k with the speed that average
- > C compilers deliver for 10k sources
- > 2. v2.2 or higher will enable compiling to modukles.
-
- AmigaE is _very_ fast, that's for sure, but the speed of the compiler
- doesn't help maintaining a large single-source program. I have divided my
- programs into small source files primarily for clarity, not speed.
-
- E is not a language for me. I have always loved the flexibility of C. E is
- much more restricted. I came up with a list of major flaws in E language.
- Here are few thoughts (in addition to the single-source-philosophy) I still
- remember:
-
- - E is very strict with the case of words. Good bye capitalized global
- variables. Makes understanding a program more difficult.
-
- - for-structure is very restricted. The C-style for() is so flexible that
- the E-version of FOR seems almost unusable.
-
- - it doesn't give a damn to precedences, but evaluates expressions in
- left-to-right order. Only parantheses can change the evaluation order.
- Results in a great amout of hiding bugs in programs, because everybody is
- used to the normal - standardized - evaluation order.
-
- - one can't put the definitions of a program to a separate header file, but
- everything has to be in one module. Makes programs very unreadable. For
- example, in LMore, #defines are in "defs.h" and #includes in "include.h"
- for clarity.
-
- AmigaE is a good language for small programs, but I wouldn't even think
- using it for bigger projects.
-
- --
- Terje Bergstr÷m
- terje@light.fipnet.fi
-
-