home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!rutgers!news.columbia.edu!watsun.cc.columbia.edu!lasner
- From: lasner@watsun.cc.columbia.edu (Charles Lasner)
- Newsgroups: alt.folklore.computers
- Subject: Re: command abbreviation
- Message-ID: <1992Nov17.043913.14428@news.columbia.edu>
- Date: 17 Nov 92 04:39:13 GMT
- References: <1992Nov13.190208.17876@cubic.com> <OKES.92Nov16125818@SunLab40.essex.ac.uk>
- Sender: usenet@news.columbia.edu (The Network News)
- Reply-To: lasner@watsun.cc.columbia.edu (Charles Lasner)
- Organization: Columbia University
- Lines: 42
- Nntp-Posting-Host: watsun.cc.columbia.edu
-
- In article <OKES.92Nov16125818@SunLab40.essex.ac.uk> okes@essex.ac.uk (Simon Oke) writes:
- >In article <1992Nov13.190208.17876@cubic.com> hees@cubic.com (Phil Hees) writes:
- >| In addition, the standard C library routines use the same ordering.
- >| For example:
- >|
- >| strcpy(dest, source);
- >|
- >Blurgh! This is one of the things about the libraries that I *HATE*.
- >I find it much easier to remember "copy src (to) dest" than the other way.
- >Makes programming a 68000 fun.
-
- Bully for you.
-
- >
- >| I always use the (dest [,dest], src [,src]) ordering for my own function
- >| calls, and really get locked into this mindset, to the point that I often
- >| find myself checking the man page to reassure myself that I am using the
- >| correct order for the cp (Unix) or copy (VMS, DOS) commands.
- >|
- >You are seriously deranged!
-
- No, you are. Let him use whatever way he can consistently remember. I
- could take you to task on the notion that just because you like copy
- commands that go source -> destination doesn't make it "right" for any
- other usage.
-
- I started on systems that go the other way, such as TOPS10. I seldom had to
- copy files, so that incidental usage was implemented consistently with the
- rest of the command structure, which seemed fine at the time going as
- destination <- source.
-
- More recently I wrote my own proprietary system for the PDP-8 (with the
- help of others) and made all relevant commands go both ways. You have to
- use either < or > to make it clear which way you are using, unless there
- is no destination in the command. Thus, a typical assembly might look like:
-
- PAL BIN<SRC or
- PAL SRC>BIN
-
- Take your pick of what makes sense to you.
-
- cjl
-