home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / euphoria / c.doc < prev    next >
Text File  |  1994-02-17  |  3KB  |  83 lines

  1. An important message for all C/C++ programmers...
  2.  
  3.      23 Reasons Why You Are Going to Write Your Next Program in Euphoria! 
  4.  
  5. - because you are tired of having to re-invent dynamic storage
  6.   allocation for each program that you write
  7.  
  8. - because you want to break free, once and for all, from
  9.   the MS-DOS 640K memory limit
  10.  
  11. - because you have spent too many frustrating hours
  12.   tracking down malloc arena corruption bugs 
  13.  
  14. - because you were once plagued for several days by an on-again/off-again
  15.   "flaky" bug that eventually was traced to an uninitialized variable
  16.  
  17. - because no matter how hard you try to eliminate them, there is always 
  18.   one more storage "leak"
  19.  
  20. - because you are tired of having the machine "lock up", or your program
  21.   come crashing down in flames with no indication of what the error was
  22.  
  23. - because you know that subscript checking would have saved you from hours
  24.   of debugging
  25.  
  26. - because your program should not be allowed to overwrite random
  27.   areas in memory via "wild" pointers
  28.  
  29. - because you know it would be bad to overflow your fixed-size stack area
  30.   but you have no idea of how close you are
  31.  
  32. - because one time you had this weird bug, where you called a function,
  33.   that didn't actually return a value, but instead fell off the end
  34.   and some random garbage was "returned"
  35.  
  36. - because you wish that library routines would stop you from passing
  37.   in bad arguments, rather than just setting "errno" or whatever
  38.   (who looks at errno after every call?)
  39.  
  40. - because you would like to "recompile the world" in a fraction of a second
  41.   rather than several minutes -- you can work much faster with a cycle of
  42.   edit/run rather than edit/compile/link/run.
  43.  
  44. - because you have been programming in C/C++ for a long time now, but there
  45.   are still a lot of weird features in the language that you don't feel
  46.   confident about using
  47.  
  48. - because portability is not as easy to achieve as it should be
  49.  
  50. - because you know the range of legitimate values for each of your variables,
  51.   but you have no way of enforcing this at runtime  
  52.  
  53. - because you would like to pass variable numbers of arguments, but
  54.   you are put off by the complicated way of doing it in C
  55.  
  56. - because you would like a clean way of returning multiple values
  57.   from a function
  58.  
  59. - because you want an integrated full-screen source-level debugger 
  60.   that is so easy to use and remember that you don't have to search
  61.   through the manual each time, (or give up and recompile with 
  62.   printf statements)
  63.  
  64. - because you hate it when your program starts working just because you
  65.   added a debug print statement or compiled with the debug option
  66.  
  67. - because you would like a reliable, accurate statement-level profile
  68.   to understand the internal dynamics of your program, and to boost performance
  69.  
  70. - because few of your programs have to squeeze every cycle of
  71.   performance out of your machine. The speed difference between Euphoria
  72.   and C/C++ is not as great as you might think. Try some benchmark tests.
  73.   We bet you'll be surprised!
  74.  
  75. - because you'd rather not clutter up your hard disk with .obj and .exe
  76.   files
  77.  
  78. - because you'd rather be running your program, than wading through 
  79.   several hundred pages of documentation to decide what compiler 
  80.   and linker options you need
  81.  
  82.  
  83.