drs@bnl.UUCP (David R. Stampf) (07/19/85)
Recent ads in PC-TECH, Byte and other magazines for a Modula-2 compiler for the PC for only $80.88 (with a discount if you sent in your Turbo Pascal Disk) caused me to give Modula-2 one more try. The following paragraphs describe it and indicate why I think you should make sure your Turbo disk is in a safe place. I have very mixed feelings about the compiler so not everything I say will be negative - maybe one should wait for version 2. The documentation that comes with the compiler is very slick and nicely done. Unfortunately, it does not always (ever?) match the software. In particular there is a fairly extensive tutorial that simply does not work! You would think that they could have hired a few undergraduates for a day and watch them try to follow the directions - but they obviously didn't. Once you complete your random walk across the keyboard and figure out what they really meant, you are faced with their editor which "knows" about Modula-2. Actually it doesn't. For each line that you enter into the source module, you have to precede it by a code (e.g. ALT-a for an assignment statement) at which point a kind of EBNF form of the statement appears and you fill in the blanks. Its cute, but the novelty soon wears thin as you try to write some real code. For instance, to enter the statement WriteInt(i,j); the following keystrokes are necessary: <ALT> p WriteInt <TAB> i <TAB> j <TAB> <TAB> The tabs are necessary! If they are not present, the code looks perfectly ok, but it will not compile! The editor is in fact token-izing the code as you go and it need the tabs. *sigh* All of this just to make sure that I didn't forget a semi-colon. The next problem is that not all of the library modules agree fully with N.W.'s book. That will make it pretty difficult to port code. The programs that I typed all worked, but they were simple and did not really test the compiler. A problem may exist with portions of the run time system because when I tried to run the compiler on a PC-Jr, it failed if a "mode bw80" command had been issued before running the compiler, but not if a "mode co80" had been. There are lots of little traps like that I would bet. Finally, the ads don't mention that the machine you run on must have at least 320K of memory and a hard disk or 2 physical floppy drives. You cannot exist with one drive because switching floppies will kill you AND most importantly the software developement system uses the entire screen, so when DOS comes up with its "Please insert disk..." message, it scrolls your development system into the next universe. -- No simple way to redraw the screen. All in all, this will probably wind up on my shelf and I'll wait for a Borland entry (even here I have my doubts). I just hope that we don't have to wait 5 years to get a good implementation of this language.
bruce@fluke.UUCP (Bruce Reynolds) (08/07/85)
Hello! I also took the bait and ordered the $80.88 Modula-2 compiler. Oddly, enough, I never got a chance to use it, since it never arrived. Basically, they left me waiting for it, after swearing to ship it. This was a kind of cute contrast with their advertising, which says, roughly -- "Tired of waiting for your compiler? Try ours!" My girlfriend was learning Modula-2 in a class, and when I saw the reasonable price, I ordered one. There were only a few weeks left in the class, so I made sure they could get me a copy quickly. Robin, my girlfriend, ordered by phone, using a credit card, and explained our haste. For an extra ten dollars or so, they agreed to ship by Federal Express the next Monday (this was Thursday or Friday). It did not arrive on Tuesday, nor by the end of the week. Robin called back, to find out what happened. It turns out, even though they had started advertising in PCWeek, and taking orders for immediate shipment, the compiler was not ready to sell. They would not be ready to ship for "another week or so". So she cancelled the order. And apparently they gave her a bit of a hard time: it wasn't working yet, you know how software is, really complicated, tough to meet exact schedules, need to advertise early, not fair to cancel, would be ready soon, etc., etc. So I wrote them a letter, explaining that I did indeed know all about software design, and how I did *not* understand their problems, and thought it was tacky to take orders, and that maybe they were jumping the gun on release. I explained that I probably didn't want a product that they had pushed out the door before it was ready. Given the widespread acceptance of defective software in the PC world, I was happy that they didn't just ship it, as other firms might have, but I also did not want to be their Beta site. I got a nice reply back, signed by the president of the company (!), saying he was sorry, but he wanted to be sure it was perfect before he sent it out, and that it was ready now if I wanted one. (The class had long since ended...) That's the story. Maybe they rushed it a bit, as the previous posting implies. Or maybe the order department just blew it once. Their advertising really beats to death the idea of "Stop waiting on your compiler, Try ours!", which was a really cute contrast with my experience. This was back in May (?), by the way, so they may have ironed out any problems... -- --bruce -- ____________________________________________________________ Bruce M. Reynolds {decvax,ihnp4}!uw-beaver!--\ John Fluke Mfg. Co., Inc. {sun,allegra}!---> fluke!bruce (206) 356-5421 {ucbvax,hplabs}!lbl-csam!--/