3 ms·
I think Ada, due its DoD origins and mandated use in some defense projects is more common than Pascal or Modula-2. Funnily enough though, I took a basic comput
by _xerces_ 3y ago
I think Ada, due its DoD origins and mandated use in some defense projects is more common than Pascal or Modula-2.
Funnily enough though, I took a basic computer science course back in 1995 where Pascal was the first language that was taught! I still remember the instructor telling us to imagine how we would instruct an alien how to use a vending machine, we could not assume it knew anything and had to lay out each logical step and it would do exactly as we told it, so we better get it right. He said that was the mindset we needed for programming.
Fast-forward to 2004 when I resumed my further education and now the first language taught in that university was Visual Basic, followed by Java for the object-oriented programming class and then straight into pure C for Operating Systems which was a bit of a jolt. Oh, and then back to Java when we had some horrible UML class with design software that auto generated code.
Apologies for the off-topic meandering, the mention of Pascal brought back memories!
- cfeduke 3y agoIn the early 90s I ended up taking a Pascal course in high school for a math credit. Afterwards I joined the military in a computer software MOS and was trained in Ada. Of course... my actual day to day was often working with Visual Basic or VBA. The government employees assigned to my unit regularly worked in COBOL or Fortran... we had a single Ada system that required rebooting into 16-bit DOS to compile, but ran under Windows 95. Imagine the fun that was to debug from a single computer! I am happy to contribute to your off topic meandering.
- pjmlp 3y agoMore common? Appolo, Lisa and Mac OS were originally written in Pascal. Apple's Object Pascal was adopted by Borland and left its mark in the PC computing world, still present to this day in Delphi and Free Pascal. The MS-DOS Demoscene had mostly Turbo Pascal as companion to the otherwise Assembly written demos. One really needs to be deep into caring about security to learn Ada, due to how costly getting access to a compiler was during the last century, before GNAT came to be. I had the books and no compilers to actually write the code on.
- pasc1878 3y agoThe Windows 16 bit APIs had the PASCAL calling convention and MS sold a Pascal at the same time or possibly earlier than C.
- vram22 3y agoYes. "long far pascal" was part of C function prototypes for those APIs used in Windows programming. They also sold MS Fortran and MS Lisp.
- skissane 3y ago> They also sold MS Fortran and MS Lisp. 1980s Microsoft Lisp was just reselling Soft Warehouse muLISP, minus the compiler. In 1999, Soft Warehouse was purchased by Texas Instruments. Microsoft also resold their computer algebra system, muMATH which was built on top of muSIMP (muLISP with an Algol-like syntax) MS Fortran, by contrast, I believe was always an in-house Microsoft-developed product. So originally was Microsoft COBOL versions 1 and 2, but version 3 onwards was rebadged MicroFocus COBOL
- vram22 3y agoInteresting, didn't know, thanks.
- phoehne 3y agoI don’t know if Niklaus Wirth (the designer of both Pascal, Modula, Modula-2, and Oberon) participated in the DoD competition, but Ada was heavily inspired by those ideas. The shame was Dr. Wirth (out of ETH in Switzerland) didn’t define enhancements to Pascal. That left vendors to plug those gaps (like Object Pascal on Mac or Borland), which made those extensions non-standard. But he wasn’t making a business out of it. He was purely academic.
- pjmlp 3y agoHe collaborated somehow with Apple on Object Pascal and Clascal.
- nonrandomstring 3y agoAda was a love-hate of mine. We had to use it for avionics/defence stuff and it always took a week just to get a project started, writing pages of type definitons. But: 1) It made you really think about the ideas. Sometimes it revealed misunderstandings in the requirements gathering or translation. That was the optimal time to find problems in the recspec and bounce them back before it got too late. 2) One you get moving in a very strongly typed language the rate of serious obstacles falls off rapidly. It really does pay yo do the work up front. I think of it as having to tidy up your room before you're allowed to play.
- kevlar700 3y agoAda has been shown time and again to be more cost effective than C, C++ or Java. Even in the old days before Ada2022 and Spark 2014s recent improvements. http://sunnyday.mit.edu/16.355/cada_art.html http://sunnyday.mit.edu/16.355/cada_art.html