delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/28/21:15:00

From: "Martijn Lievaart" <nobody AT greebo DOT orion DOT nl>
Newsgroups: comp.os.msdos.djgpp,alt.comp.lang.learn.c-c++,alt.lang.basic
Subject: Re: A small bussiness billing application
Date: 23 Jul 1999 17:18:22 GMT
Organization: EuroNet Internet
Lines: 37
Message-ID: <7na84u$4d7@news3.euro.net>
References: <8E0A6B90Bjsampsonpostmasterco AT news DOT earthlink DOT net> <OdFl3.2157$xN4 DOT 20163 AT news3 DOT mia> <9APl3.1054$XG6 DOT 30509 AT dfiatx1-snr1 DOT gtei DOT net> <90_l3.4474$xN4 DOT 43628 AT news3 DOT mia>
NNTP-Posting-Host: p014.asi.euronet.nl
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Judson McClendon wrote in message <90_l3.4474$xN4 DOT 43628 AT news3 DOT mia>...
>As both a BASIC and COBOL (at least) programmer yourself, would
>you choose BASIC with no decimal variables over COBOL, to write
>financial applications, assuming both were available?


As a multi language programmer that wrote financial applications in (a.o.)
COBOL and BASIC, if I have to choose from those two, it'll be BASIC.

The only reason for choosing COBOL here would be portability. If portability
is of any concern, you can rule out BASIC anyhow, so your question becomes
non-sensible then.

I must admit I haven't looked at recent developments in COBOL, because I
consider it a braindead language anyhow. I appreciate that you wrote a
compiler and a p-code intterpreter in COBOL, but having written serious
financial calculation routines in COBOL made me decide that this language is
unsuited when calculations must be made beyond the trivial. (And those 5
line APL programs that were the prototypes would be over 1500 lines after
porting to COBOL!). And I also wrote (simple) interpreters to not write that
same report writing program for the umptieth time with just little
differences, so I consider myself a serious COBOL programmer (in rest).

However, they are both very low on my list of languages I would concider
anyhow. If portability was required, I'ld probably choose C, but other
candidates would be C++, FOCUS or any other 4GL that works with the database
at hand. Programming COBOL today is an excercise in futility imho.

Martijn
--
Please post replies to this newsgroup. If you must reach me by email, use
<newsgroup-name> at greebo.orion in nl.
Senders of unsollicited bulk or commercial email will be prosecuted to the
maximal extend possible by law and any other means.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019