News for hackers. Stuff that matters.
Re:C0, an Imperative Programming Language for Novice Compute... by macintux on Wednesday October 18, 2017 @03:10PM (#15502022)
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.

Re:C0, an Imperative Programming Language for Novice Compute... by mac01021 on Wednesday October 18, 2017 @08:11PM (#15504423)
Computer 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.

Re:C0, an Imperative Programming Language for Novice Compute... by macintux on Wednesday October 18, 2017 @08:17PM (#15504448)
Programming is a critical tool, but computer science isn't about programming any more than physics is about advanced mathematics.
Re:C0, an Imperative Programming Language for Novice Compute... by mac01021 on Thursday October 19, 2017 @02:32PM (#15510387)
What is it about, then?
Re:C0, an Imperative Programming Language for Novice Compute... by macintux on Friday October 20, 2017 @10:15AM (#15515925)
When 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.

Re:C0, an Imperative Programming Language for Novice Compute... by jacobr1 on Friday October 27, 2017 @09:32AM (#15568067)
I 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.
Re:C0, an Imperative Programming Language for Novice Compute... by norswap on Wednesday October 18, 2017 @03:27PM (#15502151)
But 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.

Re:C0, an Imperative Programming Language for Novice Compute... by khedoros1 on Wednesday October 18, 2017 @04:29PM (#15502697)
> 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.

Re:C0, an Imperative Programming Language for Novice Compute... by grayhatter on Thursday October 19, 2017 @01:43AM (#15505707)
1st, 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?