4 ms·
For everyone complaining about how they taught themselves pointers while in diapers so why can't college freshmen already do this stuff... 1st: Restricting the
by macintux 9y ago
For everyone complaining about how they taught themselves pointers while in diapers so why can't college freshmen already do this stuff...
1st: Restricting the set of students who can succeed in CS 101 to those who have already done extensive programming is one way to make sure the field never diversifies.
2nd: Computer science is not (supposed to be) about programming. Let's teach them how to think before we teach them how to be language lawyers.
- norswap 9y agoBut should a language based on C -- of all things, be taught? I suspect they do this to transition students to real C later... Won't that give them bad habits later down the line? Seems like a lot of work just to avoid going with Java or Go. With Java, eschew inheritance (not a bad habit at all) and wildcards at first, and you're fine.
- khedoros1 9y ago> But should a language based on C -- of all things, be taught? Why not? This variant is garbage collected, has array bounds checking, and doesn't allow C's undefined/unspecified behaviors.
- mac01021 9y agoComputer science is (and must be) about programming. It need not be about C, or present-day digital computers, or even anything to do with the von Neumann model. But there must always be a formal notation for describing computations, and students of Computer Science must always learn to treat that notation with rigor and come to grips with its nuances. Probably too they must always deal with the concept of indirection, and think about references to (objects that contain) other references. I'll grant you, though, a language with a saner notation for describing pointers (and types in general) would be easier to learn than C, and could still be equally useful - if not moreso.
- macintux 9y agoProgramming is a critical tool, but computer science isn't about programming any more than physics is about advanced mathematics.
- mac01021 9y agoWhat is it about, then?
- macintux 9y agoWhen I think computer science, I think things like the lambda calculus, invented before programming languages. Richard Hamming's work on information theory. In the distributed systems world we have Lamport's work on vector clocks and Paxos, the CAP theorem by Brewer, the Domino paper from Amazon. In other spaces we have the machine learning and neural networks, blockchain... These are computer science, and they're certainly implemented with programming languages, but they were conceived (and often proved) independently of any implementation.
- jacobr1 9y agoI think what the prior posting was getting at (and this too is fuzzy and doesn't capture the full scope of CS) is that most of what you mention is algorithmic. Understanding, proving, and discussing algorithms requires describing and reasoning about computation using some form of notation. That doesn't require any particular programming language or pseudo-code notation. But it does require something to communicate with any kind of rigor.
- grayhatter 9y ago1st, are you sure that's a good thing? I don't mean diversification, I mean graduating students who can't grasp concepts that experts are sure is easy/simple. Pointers, like everything else, is hard... until you understand them. (Perhaps CS 101 needs an additional prerequisite) 2nd, sure, then pick something easy, like [any of the thousand of other languages] Don't hand them a "broken" version of C, just because it's easier. 2nd part 2... What do you think CS is if not about programming?