Live data from Hacker News

Ask HN: What programming languages are used in CS courses these days?

news.ycombinator.com

61–69 of 69 posts

Re: Ask HN: What programming languages are used in CS courses these days?

#61
Not exactly "these days", but hey, perspective, and non-US.

1998-2001 (Curtin, Western Australia)

Intro to Programming => Pascal (switched to Java in '99)

Intro to OS => C and an x86 assembly variant I don't remember much about

Comms => C

Database Systems => PL/SQL

Systems Programming => C++

Design and Analysis of Algorithms => C

Scientific Computing => C

AI => Lisp

Graphics & Visualisation => C

(Looking back over my transcript, I was a really terrible student :/ Just as well I had a pretty decent grasp of C before I went to uni really.)

Re: Ask HN: What programming languages are used in CS courses these days?

#62
post #61

Not exactly "these days", but hey, perspective, and non-US. 1998-2001 (Curtin, Western Australia) Intro to Programming => Pascal (switched to Java in '99) Intro to OS => C and an x86 assembly variant I don't remember much about Comms => C Database Systems => PL/SQL Systems Programming => C++ Design and Analysis of Algorithms => C Scientific Computing => C AI => Lisp Graphics & Visualisation => C (Looking back over my…

Pascal! First mention I've seen on this thread.

Re: Ask HN: What programming languages are used in CS courses these days?

#64
Graduated with a CS degree in 2004. The breakdown of the primary languages I used were:

75% Java 25% C

With some smalltalk, SQL, and C++ sprinkled in for some of the more specialized classes

Asking a friend who graduated 2014:

60% C++ 40% Java

Some C#, Python, PHP for some of the specialized classes

Re: Ask HN: What programming languages are used in CS courses these days?

#66
Minho Univ. Portugal

Functional Programming: Haskell

Imperative: C

Object: java

Computational Logic: Prolog

Graphical Computation: c + opengl

OS: c

Concurrent: Erlang, java

Compilers: c+yacc+flex

Program Calculation: Haskell

I've notice very few places teach program calculation. It is an interesting trend and you can learn more about it here: http://www3.di.uminho.pt/~jno/ps/pdbc_fm.pdf

Re: Ask HN: What programming languages are used in CS courses these days?

#67
post #51

I currently teach high school math and science, but I'm looking to switch over to CS in the next year or so, still at the high school level. If I make the switch, I'm going into a school that has no meaningful programming classes. I am currently outlining a four-year plan to build a good high school CS program, that would set students up well for jumping into a competitive CS undergrad. I'd love feedback from people…

Matthias Felleisen, one of the co-authors of 'How to Design Programs', contends that Racket is a gentler, kinder introduction to computer science and programming for high schoolers (actually, for beginners in general).

There's less emphasis on syntax (since Scheme is so minimal), and more on concepts - which cover all the mainstream paradigms. In addition, starting with functional programming demonstrably better complements and reinforces learning in other subjects such as Math.

The 'standard' text is HtDP (http://www.htdp.org/); it's being used in high schools as well as colleges. A second, revised edition of HtDP is in development (http://www.ccs.neu.edu/home/matthias/HtDP2e/). There's also 'Picturing Programs', by Stephen Bloch (http://picturingprograms.com/), an alternative to HtDP, perhaps more suitable for high schoolers.

(Incidentally, DrRacket is an excellent IDE, with all 'batteries included'!)

Conversely, his colleague Shriram Krishnamurthi has carried out extensive research into learning, and is now of the opinion that Racket is actually too minimal syntactically! Hence the development of a new (and rather cool) teaching language called Pyret (http://www.pyret.org/). (It's been discussed in thrilling detail on HN in the past.)

Lastly, it was found that beginners who started with Scheme actually did better when continuing later to Java than others who began with Java. There are some rather blunt testimonials (from students) that reinforce this point...

'Matthias Felleisen often teaches a programming languages course, and reports that near the end of the semester, students (particularly the stronger ones) ask why they didn't learn Scheme first, before Java. At least one top student disagreed:

Make sure you always teach assignment and bad programming first. They must go through hell before they are allowed to program in heaven.'

(A lot more here: http://home.adelphi.edu/sbloch/class/pbd/testimonials/)

Re: Ask HN: What programming languages are used in CS courses these days?

#68

Started my graduation in 99, finished it in 04, at Brazil. 1st year: Intro to programming in Prolog, and data structures in Prolog or C (student's choice). 2dn year: Everything in C, except for system level courses, in MIPS and x86 assembly. 3rd year: Mostly C and MIPS/x86 assembly, a very interesting discipline in programming paradigms teaching Lisp, Prolog, and Java. 4th year: From tis point on, the course starts t…

Wow, an intro class teaching Prolog, what was that like?

Oops, wrong language. I meant Pascal.

Re: Ask HN: What programming languages are used in CS courses these days?

#69

I told my friend at work about this thread. He isn't on here so I am ghost posting for him for fun and perspective. He did his undergrad in CS at UCLA '78-'82. Intro to Programming => PL/1 Problem Solving using Computers => Algol 68 Operating Systems => MIX pseudo assembly Data Structures => Mostly theory/test based Programming Languages => COBOL, Fortran, APL, and ALGOL 68 Software Engineering => C Simulations => GP…

Your friends sounds like he has the "Right Stuff" and can join the Algol68@linkedin group ...

http://www.linkedin.com/groups/Algol68-2333923/about

Post reply on HN