home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!ucbvax!NSCVAX.PRINCETON.EDU!dragon
- From: dragon@NSCVAX.PRINCETON.EDU (Mighty Firebreather)
- Newsgroups: comp.os.vms
- Subject: RE: Programming
- Message-ID: <009672EF.61BFAC20.2988@nscvax.princeton.edu>
- Date: 26 Jan 93 15:44:56 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 39
-
-
- Chris Tanski <CTANSKI%ONONDAGA.bitnet@CUNYVM.CUNY.EDU> writes:
- >
- >I am going to be taking a programming course next year and I want to know
- >which one to take. My options are: BASIC, Pascal, FORTRAN, C, and COBOL. I
- >want to be able to write programs on my VMS acct. so whichever programming
- >language is best for that is the one I want. Thanks and please reply directly
- >to ctanski@onondaga.bitnet.
- >
-
- That's rather a difficult question. One might as well ask which
- "motor vehicle" is best; a motorcycle, a Chevy, a Masserati, a USAC race
- car, or a garbage truck! If you want to haul garbage, there's nothing like
- COBOL^H^H^H^H^H a garbage truck. :-)
-
- Seriously, Fortran is good for number crunching and usable, with
- difficulty, for almost everything. COBOL is well suited to accounting type
- things; e.g. money. C is well suited to system programming, less well
- suited to number crunching and ill suited to accounting applications (no
- decimal string arithmetic). C also tends to be rather cryptic. BASIC and
- Pascal have their proponents but I'm not sufficiently familiar with VAX
- BASIC to be able to say what its strenths are and I don't really know
- Pascal.
-
- As a general thing, I'd say it's far more important to learn basic
- principles than BASIC. Learn control structures. Learn data structures.
- Learn to document your work. More code has wound up in the garbage can for
- lack of adequate documentation, than for any other reason (it's easier to
- rewrite it than to figure out how to fix or modify it).
-
-
- *************************************************************************
- * *
- * Here, there be dragons! *
- * dragon@nscvax.princeton.edu *
- * *
- * Richard B. Gilbert *
- *************************************************************************
-
-