You guys remember Pascal and cobol

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,255
3,853
75
What is the high-level language designed around static single-assignment? Eiffel? Erlang? Something like that. I always thought that was an interesting idea for reliability, though I never learned that language.
Are you talking about functional programming languages? Standard ML? I think MS F# might be like that, but I've never tried it.

lisp was another amusing language back then - it was nothing like today's lisp.
I used to use something called Reverse Polish Lisp, or RPL on HP calculators. But I don't think it was very LISP-y. It was more like BASIC with a stack. Which meant virtually no parentheses.
 

Ajay

Lifer
Jan 8, 2001
15,555
7,917
136
Cobol was terrible, IMHO. So was BASIC. Fortran was annoyingly picky. When I learned Pascal it was like a breath of fresh air. Later on, as a project for a course in Programming Language Structures, I wrote a 25 page comparison of C++ and Ada 95. Ada was superior in almost every way. Boeing, when writing new inflight software project created two teams - one started using C++, the other used Ada. The C++ code was so buggy that that part of the project was dropped and all the C++ coders were folded into the Ada development team. Ada didn't become more popular as it didn't enter into any mass market applications - too bad, we could have avoided so much problematic C++ code - such is life.
 

mxnerd

Diamond Member
Jul 6, 2007
6,799
1,101
126
Learned a lot of different languages (Fortran, Cobol, C, Pascal, MS Basic, Lisp, x86 assembly, Ada, SQL) in the school, but none was used for job.

Begin with Clipper for work, then Foxpo, VB, Access, VBA, VBScript, JavaScript...

Once you learned a language, you can pick up other languages more easily.

The hardest part is the transition from functional to object oriented and event driven programming.

And guess what, Clipper is the first object oriented and event driven programming language I touched under DOS!
 
Last edited:

you2

Diamond Member
Apr 2, 2002
5,710
940
126
One annoying new language is python - that part that i dislike is the use of spaces to delimit body of a compound statement (i.e, loops).

One problem with this thread is when we talk about languages they are moving targets - esp the older ones like fortran, lisp, and so forth. I remember learning common lisp on a dec-10 and then visiting a friend in cali and he was talking about all the wonderful new additions being added to the language (labels, loops, ...); but the original lisp (or at least the version I learned) had basically two constructs atoms and expressions. There were a few primitives for expressions like car and cdr - but the entire language was basically (f x1 x2) with the bottom of the recursion being car or cdr.... To be honest once i started 'thinking' in lisp it was really a lot of fun - almost as much as snobol. Professionally nearly all of my work has been in C and later C++ and Java - with a little python, pearl (another horrible but very powerful language), ... Java is ok - sort of like a thread ecentric version of pascal as far as i'm concern but with a very large and powerful library - unfortunately some of the elements of java library are prone to chewing up memory due to how strings are defined (an aspect of the language i really dislike).
-
C++ isn't bad - kind of fun at time but STL could use some improvements - i mean it could be made a primitive in the language so some of the kludges used to glue it on top of the language could be removed.
-
Google has a simplified version of C/C++ called go that i haven't bothered to learn but I wonder if it has decent flow. from what I've seen they over simplifieid C++ and something in the middle would be more appealing.
 

Spydermag68

Platinum Member
Apr 5, 2002
2,600
88
91
In college I learned Fortran 88, Pascal, C, C++, LISP, 8806 assembly and a few others. My first job was in Fortran and C. My second job I learned TPF assembly for OS 390 mainframes. Since then I have been working in C# for the most part.
 

Stiff Clamp

Senior member
Feb 3, 2021
837
302
106
I coded some COBOL programs back around Y2k. From specs - not modifying existing code.
But school taught me C++ and Pascal.
The COBOL I learned in 6 weeks of corporate training. Along with JCL(Job Control Language) and DB2. So I could work contract assignments.
At one point I coded a backup utility for mainframe data sets using CLiST. I'd never heard of CLIST (Command List) before so I referred to the online help to teach me syntax.
 

Leymenaide

Senior member
Feb 16, 2010
749
364
136
I taught at a Community College in NJ @ Y2K and about that time an old timer got the idea to offer Cobol. I do not remember how many semesters they ran it but there was enough interest to run a course. Interest was finance.
 

you2

Diamond Member
Apr 2, 2002
5,710
940
126
The DMS phone switches we have run on pascal I believe. Never programmed it myself though.
pascal is ok i guess; kind of a classless stuffy java as it predates much of the move to object oriented development. turbo pascal (for those who remember it) on the other hand was a blessing. Revolutionize software development on the old 88. Rember it and desmeth C which was also one of those great things from the old days (notice no ms mentioned - there is a reason in those days their stuff was garbage).
 

robphelan

Diamond Member
Aug 28, 2003
4,085
17
81
apparently, COBOL is very similar to ABAP which is SAP's proprietary language.
 
Jul 27, 2020
16,659
10,665
106
I had COBOL in my first semester of compsci (long story but never got the degree). After enjoying the small tasks that the instructor threw at us during the semester, I decided to do something ambitious in COBOL that almost everyone thought was crazy. I implemented a text based on-screen table that updated the sums properly if I changed the numerical value in any cell. It was supposed to be a challenge to myself to see if I could create my own little Excel imitation minus the formulas and advanced stuff.

When it worked as intended, that's when I knew I was destined to be a code mangler. It only took 50 printed A4 pages
 

lakedude

Platinum Member
Mar 14, 2009
2,557
301
126
Learned a bit of COBAL in high school. It seemed awful. Everything was simulated on green and white paper but was never actually converted to punch cards and ran on an actual computer.

Took WATFIV Fortran (on punch cards) and Pascal in college.

Picking up BASIC was trivial after that.

We called that HP calculator stuff RPN for Reverse Polish Notation. Still got an original 12c financial and a modern 15c after the original was stolen.

Had a couple weeks of some low level assembler or machine level coding. Don't remember but it helped a lot to understand how a CPU actually works.

I still put line numbers in my basic programs...
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |