For absolute beginners, I still think Pascal, or Turbo Pascal is best to start. It has a syntax that doesn't scare people away, and very readable. Deploying is also 1 trillion times easier then what ever we have today, ( C , Python , Ruby , Node.js ... )
I would have picked Ruby if it could compiled into a single executable file, and if the Dev environment actually work on Windows.
P.S: It does work on Windows, but not as simple and easy as it should be. Compared to every other alternative on the market.
Press F9 and you get a self contained exe which was not dependent on any libraries in about a second.. I think that was what the poster was getting at.
I was enrolled at a university that had you progress like this:
1. Imperative programming with Pascal
2. Object-oriented programming with Java
3. Functional and logic programming with Prolog and Scheme
4. Advanced functional programming with ML
All the software engineering & project management courses basically assumed Java-brand OOP and related practices, though.
Before that I was enrolled at a different university that did three things at the same time in no obvious order:
A. HTML/CSS/JavaScript and PHP for web development (yes, like in the 2000 era)
B. Java for linguistics programming and software engineering (but the professor wouldn't shut up about how much he likes Oberon-2)
C. C++ for interactive graphics programming (and maybe other things to)
Basically all the advanced "computer sciencey" stuff was in C++, all the more "software engineeringy" stuff was in Java and everybody pretended web development wasn't really a thing.
Pascal is definitely a very good language for teaching the basic of procedural/imperative programming. It has several good properties : it teaches you structured data (which helps to understand formalization), is strongly typed (which helps to reduce the uncertainty about the behavior of a program which in turn helps student to understand what they do precisely); you don't have to face pointers (which in my own experience are tough to understand); etc.
I would have picked Ruby if it could compiled into a single executable file, and if the Dev environment actually work on Windows.
P.S: It does work on Windows, but not as simple and easy as it should be. Compared to every other alternative on the market.