r/AskComputerScience • • Feb 06 '18

Were there any programming languages Edsger Dijkstra actually liked?

I see quotes all over the internet in which Edsger Dijkstra throws shade at some programming language or another (Fortran, BASIC, COBOL, etc). I know he was primarily a pen-and-paper CompSci theory guy, but is there any record of him actually expressing admiration for a particular language?

30 Upvotes

10 comments sorted by

18

u/shuklaswag Feb 06 '18

Dijkstra seemed to like Haskell. See his letter to the UT Austin administration condemning their move away from Haskell towards Java.

https://www.cs.utexas.edu/users/EWD/transcriptions/OtherDocs/Haskell.html

2

u/wildgunman Feb 06 '18

It also appears like he may have had a fondness for Pascal, which would make sense.

14

u/not-just-yeti Feb 06 '18

It is not only the violin that shapes the violinist, we are all shaped by the tools we train ourselves to use, and in this respect programming languages have a devious influence...

I like that phrasing (and think it should have been his opening point). In advocating against Java as an intro-learner-language, I usually express my concern as:

Programming is actually the epitome of clear thinking. But Java tends to clutter things up with so many pitfalls, and so much boilerplate, that it gives beginners the impression that coding is necessarily about knowing how to put certain keywords in a certain order to appease the compiler.

4

u/jonathancast Feb 06 '18

Dijkstra is probably the only person to ever advocate for Haskell on the grounds that students are unlikely to understand how their programs are executed in it.

4

u/shuklaswag Feb 07 '18

I didn't get that interpretation from the letter. It sounds like his claim is that Haskell teaches students how to think rigorously about the programs they write, rather than throwing together messy code that "just works". And that many entry-level students already understand imperative languages, so they would be better served learning a new paradigm like functional.

3

u/_--__ Feb 07 '18

This is certainly the rationale behind the choice of first-year programming languages at Cambridge and Oxford.

1

u/Araneidae Feb 07 '18

What are the entry level languages at Cambridge and Oxford these days? My first languages at university were FORTRAN, ALGOL W (seriously), and BCPL ... which will date (and place) me thoroughly!

1

u/_--__ Feb 07 '18

A few years ago it was ML at Cambridge, and Haskell at Oxford, though Scheme was being pushed (for Imperative programming of all things!) at Oxford before I left.

2

u/not-just-yeti Feb 06 '18

The letter is addressed to the "Budget Council"?! Why is a budget council influencing curriculum?

0

u/[deleted] Feb 06 '18

[deleted]

5

u/MrOaiki Feb 06 '18

Can you sum up ALGOL 60 in a few words?