Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site hadron.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!ut-sally!seismo!rlgvax!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: net.lang.c Subject: Re: Two Birds with One Stone Message-ID: <114@hadron.UUCP> Date: Tue, 3-Dec-85 00:42:16 EST Article-I.D.: hadron.114 Posted: Tue Dec 3 00:42:16 1985 Date-Received: Thu, 5-Dec-85 08:11:37 EST References: <213@brl-tgr.ARPA> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Organization: Hadron, Inc., Fairfax, VA Lines: 52 Summary: Apologies & rider ... In article <213@brl-tgr.ARPA> cottrell@nbs-vms.arpa (COTTRELL, JAMES) writes: >But it's OK for you to insult me publicly, eh? GFY. In this one, Jim, you're absolutely right & so I'm going to waste a few bytes for a public apology. What was intended as a clever twist on the message it was answering came out as a gratuitous insult. I keep telling myself not to try anything "clever" after midnight ... I apologise. But, would you mind telling me what "GFY" stands for? I can't find it in any of my lexicons ... I even agree with you that the VAX has one of the nicer architectures to work with in the industry. I agree with you that segments (and the whole architecture of the 80X86 machines) are abominable. And I do n o t enjoy contorting my code to fit a lot of odd machines. But I enjoy even less taking my code (which I think I understand), or worse yet someone else's code (which may or may not have been written for comprehensibility), if it was originally engineered to work only on one machine, and tearing my hair out finding all the clever little tricks that couldn't possibly work on my machine. (Since some of the machines I work on are VAXen, you'd think this was less of a problem -- but at least one is System V v. 2 r. 2 and then some.) Out of concern for my own future sanity (what there may be of it ;-)) and courtesy for others who may have to live with my code, I make the slight extra effort to try to always code so that I can use my code an any of my systems. And I use the word "slight" advisedly. By making these practices into habits, most of them are no pain at all to include in new code; and I do not spend hours agonising over whether each construct will break on some obscure machine. Only if it's at all likely that it will be used on that obscure machine; and then, it usually doesn't take hours. The gain? Well, I have a number of tools, including a set of file- system repair tools, that will run under Xenix, System V, 4.2 BSD, 4.1 BSD, V7, and I think even V6 (although it's been so long since I used that that I've stopped checking). Minimal effort was needed to port them, except for some of the 4.2 file-system programs. (4.1 is closer to System V than either is to 4.2!) I think it was worth it, since I have to work on all of these. When I get a chance to post them, I'll bet you'll be happier than if I had hard-coded my machine in, too. But, as I said before, I know that my arguments don't really impress you, and yours don't all impress me. I was just asking that we stop slinging stuff around the net -- and here I am doing it again. It must be after midnight. Bye. -- Joe Yao hadron!jsdy@seismo.{CSS.GOV,ARPA,UUCP}