Not having to deal with boilerplate and housekeeping lets you focus on learning the topic at hand. Especially in a classroom setting where you're probably focusing on the specific subject instead of real-world dirtiness.
But after learning the basic concept, you do need an actual implementation if you want to do anything.
Sure. I'm all for learning ML, Scheme, C/C++, Python, Ruby, Java/C#, etc.
> There's a reason why a lot of CS programs have shuffled from primarily C to Python (some had Java in between).
The reason is called dumbing down the curriculum. My fall freshman year, my college tried to switch from C to Java in order to make it easier for the general population to get into CS and there was a major pushback from the CS student body, alumni and a bunch of the CS professors. We went back to C/C++ my sophomore year.
> Not having to deal with boilerplate and housekeeping lets you focus on learning the topic at hand.
I disagree. Having to deal with the boilerplate and housekeeping helps you learn the topic at hand.
> But after learning the basic concept, you do need an actual implementation if you want to do anything.
I disagree. Giving them "training wheels" will keep them dependent on training wheels. In an idealistic world, people go from Java/Python to C/Assembly, but that's rarely the case.
CS should begin with Math ( boolean algebra/logic/etc ), Assembly and C. Then go on to functional paradigms. Then to OOP. Etc ( in the language ). Of course they should also learn about OS( kernel/filesystems/etc ), networks, computation theory/etc, compilers, etc.
The dumbing down of the curriculum so that music/english majors can pass CS classes doesn't do anyone any favors.
This breaks the HN guideline against flamebait. Please don't post like this here.
Introduction to Programming became a requirement and the drop-out/failure rate for non-CS major students was excessively high so the Dean thought teaching the classes in java rather than c would help out those who were new to programming and help them pass these "newly required" classes.
Personally, I prefer to dig into 1 or 2 programming languages deeply instead of shallowly hop around half a dozen. I seem to retain the deep stuff a lot better. Even when coming back to languages I used heavily years ago (Bash or Perl, for example) I end up having to look up basic things like how loops or functions are defined when I pick them up again.
> The reason is called dumbing down the curriculum.
Do you feel the same way about SICP's choice of using Scheme? One of the innovations of SICP was that CS courses spent too much time explaining the details of a programming language [1]. That was 30 years ago. There are orthogonal discussions on the goals of CS changing over time.
> In an idealistic world, people go from Java/Python to C/Assembly, but that's rarely the case.
Maybe there's no business need? My wife works in video games. That's one industry where programmers often have deep knowledge of hardware and use assembly--but, there's still only a couple of them at each studio. Most people programming are doing game scripting or content creation.
> CS should begin with Math
Your argument seems to be against abstraction. Math is all about abstraction. So is programming. It's been interesting to see programmers tinker with hardware as things like Arduino and Raspberry Pi have become more popular. When writing software they take things for granted, but when interacting with hardware they have to account for things like debounce.
You sound butt-hurt
I'm sorry having standards and expectations is something that offends so many people.
C isn't a "difficult" language. It's something any CS major should have an understanding of.
I can't believe on hackernews, I'd get attacked for saying people should learn C.
Nevermind that most OSes and most languages themselves are written in C. Even python interpreters are written in C.
Since when is saying people should learn C for a CS degree considered being "butthurt"? What's next? Saying people should learn latin/ancient greek for a liberal arts degree is considered being butthurt?