home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6978 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.9 KB

  1. Path: pyrotek.demon.co.uk!jase
  2. From: Jason G Doig <jase@pyrotek.demon.co.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Frustrated Jolyon (was Re: E - Just say NO! (was Re: Visual E - New E
  5. Date: Sun, 07 Apr 1996 10:24:15 GMT
  6. Message-ID: <9604071118.NA19098@pyrotek.demon.co.uk>
  7. References: <e> <DpFuKK.EEs@cix.compulink.co.uk> <9604061356.NA547318@pyrotek.demon.co.uk> <4k7k0p$4u4@pravda.aa.msen.com>
  8. X-NNTP-Posting-Host: pyrotek.demon.co.uk
  9. X-Newsreader: NewsAgent 1.4r3
  10.  
  11. crandall@mail.msen.com (Chad Randall) wrote:
  12. > Order of operations.  Yes, E is missing this.  And adding ()'s around
  13. > everything is not only messy, but it can become confusing.  But I assume
  14. > Wouter choose to do this to increase compiling time.  And if so, I'm all
  15.  
  16. Well, reading the manual, Wouter does tend to insist that things were
  17. not done for compiler speed, but for 'very good reasons' (unspecified).
  18. In any case, expression parsing is a piece of piss, and the first thing
  19. anyone on a computing course is taught when it comes to the subject of
  20. compilers.  To be honest, I think that a lot of the decisions /were/ made
  21. for reasons of speed.  I can appreciate that he isn't going to change them
  22. now, obviously that would just generate even more problems.  I just get
  23. the impression that some of the 'design' features were done more because
  24. he either wanted to be different, or to take the easy way out, than for
  25. any good reason.
  26.  
  27. > for it.  I come from the school of interpreted languages, and I learned
  28. > to write stuff in small steps, testing it every few minutes.  I know
  29. > this is not the best way, but it is my way.
  30.  
  31. Nothing wrong with that, but to be honest for small programs (and
  32. you do say you write modular code...), I don't notice much difference
  33. between my C compiler, and E, except that my C compiler reports
  34. all the errors it finds, rather than just the first one it comes
  35. across - it also gives line numbers for unreferenced variables.  This
  36. easily offsets the fast compile times for larger E sources.
  37.  
  38. > And I'd rather have to enclose things in ()'s than in {}'s and
  39. > end every statement with a ';'    ;}
  40.  
  41. Actually, I quite like {}'s, as they give a nice consistent way of
  42. showing program depth, and most editors have bracket matching,
  43. which is damned useful.  This is much trickier in E (and of course,
  44. Basic et-al).  I'm not going to condemn E for not having these though...
  45.  
  46. > Non-modularity???  What the hell is the "OPT MODULE" keyword for, then?
  47. > I write modules, using small testing "main" code to debug it.  Then I
  48. > plug it into my larger applications.  If this isn't modularity, then
  49. > what the hell is?
  50.  
  51. Our main problem, is that all the modules are just that, E Modules.  If
  52. they were proper linker object files, then we could link them with a
  53. standard linker, and include other languages (there are times, despite
  54. what Wouter would like to think, when we would like to be able to
  55. link in say, 68020 assembly functions, or C functions).  E makes this
  56. very difficult.  Also, E's linker tends to link entire module in, rather
  57. than just the bits it needs.  With the current system we're stuck with
  58. one large E program, and anything else we need to plug in getting put
  59. into the library.
  60.  
  61. For example, for reading and image format (as Photogenics has to
  62. do now and then), we can frequently get existing and free code
  63. to read a format.  This is pretty much always in C.  Now if we
  64. were to write the GIO stubs in E (I'm assuming E can actually
  65. output libraries now, it couldn't when we started this), we would
  66. need to convert large quantities of someone elses source to E.
  67. Instead, we wrote the GIO template code in C and Assembler.  This
  68. allows us to write functions in just about any language we want.
  69. Except E...
  70.  
  71.  
  72. Jase.
  73.  
  74. -- 
  75.    -  - - --+-++*+*+**+*@*@@@*@*+**+*+*++-+-- - -  -
  76.      Amiga/Mac/PC/Unix Programmer.    Amiga Owner.
  77.   Jase@PyroTek.demon.co.uk - NewsAgent, Photogenics.
  78.       http://www.ucs.ed.ac.uk/~eofu31/jase.html
  79.    -  - - --+-++*+*+**+*@*@@@*@*+**+*+*++-+-- - -  -
  80.  
  81.  
  82.