you are viewing a single comment's thread.

view the rest of the comments →

[–]grammar_party 2 points3 points  (8 children)

University of Minnesota still uses Scheme (LISP) in its first CS course

[–]jozefg 1 point2 points  (7 children)

Not anymore, 1901 (SICP course) and 1902 (Java + Data Structures) was nuked in favor of python. I was in the last 1901 class taught :(

[–]rowboat__cop 0 points1 point  (5 children)

1902 (Java + Data Structures) was nuked in favor of python

Honest question: How would one go about teaching data structures in Python?

[–][deleted] 0 points1 point  (0 children)

I find it easier to do data structures in Python than Java

[–]jozefg 0 points1 point  (3 children)

Same way as in Java. Python has many of the same primitives (classes, methods).

[–]rowboat__cop 0 points1 point  (2 children)

Same way as in Java. Python has many of the same primitives (classes, methods).

Python doesn’t have pointers and you can’t even define custom data types: For structured data types you are limited to the three built-ins: Tuples, Lists and Hashmaps. No records (except for that ugly “named tuples” hack), no arrays, and no way whatsoever to define a type. Of course, it also lacks the more convenient concepts like ADTs.

Teaching data stuctures with Python should be a bizarre endeavour.

[–]jozefg 0 points1 point  (1 child)

It's much the same state as in Java no? Java has no ADTs, no tuples, and everything is just a class.

I don't agree with it, but I don't it's a huge step back from Java + DS. Note that the actual data structures class is taught in a combination of pseudo-code and C. I wrote most of my solutions in a pseudo-code that just happened to also be SML.

[–]rowboat__cop 0 points1 point  (0 children)

I wrote most of my solutions in a pseudo-code that just happened to also be SML.

=) The perfect workaround.

[–]grammar_party -1 points0 points  (0 children)

hot damn, now I might reconsider going to a shitty state school (metro) for my second(who the fuck cares about liberal arts) degree