News for hackers. Stuff that matters.
Re:Why do so few people major in computer science? by Legion on Monday May 29, 2017 @05:57PM (#14441706)
> I would say that this basically screams "badly taught programming". Missing semicolon does not take down work, it just needs to be put back in and ide should help you.

The point is that the incidental complexity is there, and that it's something that has to be dealt with, to even begin to get to the fundamental part of the problem.

That you have to be using the right IDE (and learn how to use it, and learn to recognize it's attempts at helping you with the problem) does not refute the point, it's a perfect illustration of it.

CS isn't harder. CS has high incidental complexity, the crap you have to deal with just to be able to work on the problem within a real world environment.

Re:Why do so few people major in computer science? by jrochkind1 on Monday May 29, 2017 @10:15PM (#14442660)
And yet I had zero problem learning Logo when I was like 10 years old. Neither did _most_ of the other 10-year-olds in the class. They didn't all take to it as much as I did, but the majority of the class was not stopped by the frustration of syntax errors.

If you can teach programming to 10-year-olds without it being too frustrating... on the other hand, I suppose you could argue that younger people will have an _easier_ time, for the same reasons (human) language acquisition is easier for children. I dunno.

I'm not sure how it relates, but what I think was _really_ an immense aid to people of any age learning programming in the 80s was that computers and software were _simpler_, meaning that you could very quickly approach the level (at least at first glance) of 'real' software with what today seems like 'toy' software. The text adventure games I started writing as a child weren't actually _fun_ for anyone to play but me, but they _looked_ like a real text adventure game that other people played, they had the same form. Or the ascii-graphic blackjack game. There was gratification with a pretty low bar.

I have no idea how I'd become a programmer today. It's an entirely different path. People ask for me for advice, and in my head, I'm like, well, first be a child in the 80s with an Apple IIe, then start writing for the web when all you need to know is HTML and you write it in Perl cgi-bin... I have no useful advice.

I do have a CS degree, which I got in the 90s.

Re:Why do so few people major in computer science? by lliamander on Tuesday May 30, 2017 @03:08AM (#14443408)
Yeah, I tried to teach myself programming in high-school (mid 2000's) because I wanted to try and get into building games. I was overwhelmed by the complexity of even setting up the tools. I figured I wasn't cut-out for it. Then in college I decided to take an introductory programming class that involved writing simple C programs and I was hooked. The prof did a good job of minimizing the accidental complexities of programming.
Re:Why do so few people major in computer science? by watwut on Tuesday May 30, 2017 @02:02AM (#14443209)
That is the thing, you should not deal with that when you are just seeing for cycle for the first time. You should not be anywhere near compiler flags. The IDE is something you should start with. Text editor + compiler is the harder way. The first class should start with opening IDE and writing something really simple.

Like someone mentioned logo or the old basics - if kids start in that environment they pick it up quite easy. They pick up concepts (wtf variables, yes does not matter how they are named, conditions, for cycle, functions) and there is instant gratification and little complexity. Just playing those games with little robot and arrows that "programs" it or simple scripting language in some game already makes much difference.

Then you can move on compiler and java or C - because basics are out of the way and it is the time to deal with what you call incidental complexity. Basically, one concept at a time. It is a bit as like teaching quadratic equations to people who were never taught normal ones nor much arithmetic.

Re:Why do so few people major in computer science? by Legion on Tuesday May 30, 2017 @02:32AM (#14443282)
Logo is great and all, but we're not talking about beginning programming for kids, we're talking about CS degrees.

At some point between Logo and bachelor's degree, you run face-first into that complexity, which is the "wall" the commenter atop this thread was referring to.

Re:Why do so few people major in computer science? by cr0sh on Tuesday May 30, 2017 @07:44PM (#14449478)
> Logo is great and all, but we're not talking about beginning programming for kids, we're talking about CS degrees.

I'd be willing to bet you could create a CS course using nothing but Logo - and it would probably be better for students than what currently exists.

In his book "Mindstorms", Papert discusses the faulty idea that Logo is only for children, and that it isn't a language that can be used to develop complex software.

The fact is, it can. In fact, Logo is pretty close to Lisp in its functionality.

The most complex piece of Logo I've ever seen was a few decades ago in an issue of the Rainbow Magazine (for the TRS-80 Color Computer); it was essentially a game of Monopoly, with full graphics (and probably sound too); I'm not sure if it did any kind of file i/o - but I know Logo supports all of that and more (especially current versions of Logo).

Seriously - if you think Logo is only for kids, you're missing out on a very fascinating language.

Re:Why do so few people major in computer science? by kazinator on Wednesday May 31, 2017 @01:23PM (#14454261)
> Logo is pretty close to Lisp in its functionality.

Is it? Quote from the Logo Manual, 1974:

All complete LOGO statements are imperatives, so that an operation cannot stand by itself. If you type SUM 17 26, Logo responds with the error message YOU DON'T SAY WHAT TO DO WITH 43. In contrast PRINT SUM 17 26 is a complete statement. The computer will print 43.

Re:Why do so few people major in computer science? by watwut on Tuesday May 30, 2017 @07:14AM (#14444421)
Yes, but many students are basically at the logo level at that point. They struggle with basics. Then there is huge sudden jump to compiler flags which you call the "wall". But that is exactly what I call bad teaching. There is no reason for that to be the wall, all you need is not to teach them everything at the same time in lesson one. This is combined with culture which tenda to attribute easily learnable skills to "natural talent" - so students conclude "I am not that talent" and go somewhere where they think they are talent.

I mean, you can teach concepts one at a time and still be demanding and require certain speed. I am not saying it should be easy. You however should separate those concepts from each other and teach them one by one. Otherwise you just relying on them to have it "picked up" randomly which is not an expectation other majors have (like physics or math or biology).