Re:Python is now the most popular introductory language at t...
by quasque on Monday July 07, 2014 @07:09PM
(#8002142)
The computing courses at my university use Haskell in the introductory programming course - apparently it works rather well as a vehicle for exploring algorithms and data structures.
The students move on to Java, C++, Perl, Prolog and others after that; not sure about Python.
Re:Python is now the most popular introductory language at t...
by danieldk on Tuesday July 08, 2014 @03:03AM
(#8003328)
The computing courses at my university use Haskell in the introductory programming course - apparently it works rather well as a vehicle for exploring algorithms and data structures.
I think a strict language in the ML family would even be nicer, because students wouldn't have to reason about laziness.
Re:Python is now the most popular introductory language at t...
by ufo on Monday July 07, 2014 @07:26PM
(#8002201)
Rust killer feature is the interaction between the type system and memory management. I don't think this is the sort of thing you want to worry about in an troductory class...
Re:Python is now the most popular introductory language at t...
by fithisux on Tuesday July 08, 2014 @06:10AM
(#8003754)
I made a mistake to suggest it. But the purpose here is to learn something in parallel. Pattern matching/ Types or even lambda calculus are good to introduce with the language. Python is good if you have an algorithms/data structures course, students are not required to optimize for a hardware, only algorithmically.
Rust is a horrible choice now, because it hasn't stabilized. When it has stabilized, it may be a suitable choice (at one point, it looked like it would be too large of a language to a be a great intro language, but since then its been getting smaller, so I'm less convinced that it will remain unsuitable for that role.)
Python's a pretty good intro language; as is Scheme, and Haskell might be, though I haven't seen any good intro-to-programming material built around it, and while I think a good intro should prefer a largely-functional style (as the best Python and Scheme-based courses I've seen have), I'm not convinced that a pure FP language is ideal for an intro to the field (though it certainly a good thing to learn in the course of an education in the field.)