Live data from Hacker News

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

news.ycombinator.com

1–10 of 69 posts

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

#1
I did my undergrad '96-'99. The following were what my courses required us to code our exercises and projects in:

Core

---------------

Intro to Programming => C

Intro to Data Structures => C

Advanced Data Structures => Java

Compilers => C/Lex/Yacc or C++/Flex/Bison

Systems Software => SIC assembly language

Operating Systems => C

Database => SQL and also a "build you own DBMS" project in Java

Electives

---------------

Software Tools => Perl and Java

Neural Networks => C

Artificial Intelligence => LISP

As you can see, C was still mainstream but Java was on the rise. When I went to grad school around 2004, no surprise, Java had mostly replaced C in these same classes. You'll notice no Javascript, no Python, no cool Functional languages, etc. in this list. Just interested to see where things have evolved and especially to see if more "modern"/"cool"/"web oriented" languages have made it into the core courses yet or perhaps spawned new more relevant core course. Thanks for playing...

EDIT:

Hey folks, mind putting your year of graduation so we can pin the answers in time?

Also, since apparently no schools have moved very far past Java, care to speculate on how you might change the core curriculum if you could?

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

#3
I graduated in '08 (wow that's 6 years ago already!). We used C++ for all the core courses except Data Structures, which used Java. C++ wasn't too bad as an intro language, with a very encouraging teacher. Java was a disaster because there was way too much boilerplate when you're just trying to write a toy data structure for an assignment. At the time I left, they were considering moving to Python for the intro courses, but there didn't seem to be much enthusiasm behind it.

And we used Access for our database course. Sigh.

That said, it wasn't as monolingual as it sounds. Even though the courses were geared toward C++, several of our teachers were enthusiastic polyglots (actually one of them spoke four human languages!), and we were encouraged to explore.

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

#4
I took two grad courses this Spring:

- Networking used Python with Mininet

- Software Development used Java with Eclipse (Android, Swing, JUnit, Google App Engine, GWT, etc.)

I finished my undergrad in 1995 and used C and assembly (RS6000, Spark, x86). C++ started to be an option when I left.

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

#6
I started my undergrad in 2008. At the time, my department's intro sequence was C -> Java -> C++. Essentially, intro to programming -> intro to OOP -> data structures.

After that, professors used whatever they wanted. Most electives let students use whatever language they wanted so long as it ran on the department's Linux machines and you provided build instructions for the professor.

Scala became the intro language the year I graduated with C and C++ following for data structures. Other courses use everything from Scheme to Java to Haskell to Python, depending on the specific course the professor.

My undergrad thesis mentor actually wrote an intro CS textbook using Scala and from what I hear it's worked quite well.

http://www.programmingusingscala.net/

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

#7
1st year CS @ ETH Zurich here

Intro to Programming => Eiffel (Betrand Meyer was our Prof)

Algorithms and Datastructures => Java (Pseudocode in PASCAL)

Parallel Processing => Java

Design of Digital Circuits => Verilog/MIPS Assembly

and in the next courses there will be some Haskell and more Java.

Post reply on HN