News for hackers. Stuff that matters.
Re:Why do so few people major in computer science? by jdietrich on Monday May 29, 2017 @08:00PM (#14442179)
Given the gender skew amongst high-school programmers, this is almost equivalent to saying "women should not be starting a CS degree". It also further entrenches the advantages of people who come from affluent backgrounds. Given the success of some short coding bootcamps, it isn't inconceivable that novices could be brought up to speed within the first semester.

We don't expect law students to have been amateur lawyers in high school; it's a bonus if they have been in the debate society or have taken a personal interest in the subject, but it's not necessary. I don't see why CS should be a special case, aside from a misplaced attitude of exclusionary elitism.

Re:Why do so few people major in computer science? by brandonmenc on Monday May 29, 2017 @08:29PM (#14442300)
> It also further entrenches the advantages of people who come from affluent backgrounds.

If you can afford a video game console, you can afford a raspberry pi (or equivalent.)

> We don't expect law students to have been amateur lawyers in high school

No, but we expect math majors to have done some math before they get to college.

I don't disagree with you that most people can be brought up to speed in less than a year, but it's also not unreasonable to expect first year CS students to have had some programming experience. Computers don't cost thousands of dollars anymore.

Re:Why do so few people major in computer science? by watwut on Tuesday May 30, 2017 @02:24AM (#14443258)
Math majors are expected to know high school math. You can literally know exactly that and succeed. If you wish to get ahead of competition, you know exactly what to do and exactly what is measured. CS does not have such clarity of expectations. I knew basics, because of journals my father bought. Since I knew basics, the teacher shown me some competitions - from then on I just went with the flow. Had my father not bought those journals or had my teacher not shown me competitions, I would not study cs or had much harder time.

If you are a boy, video game console is something that is bought for you often times whether you really want it or not. Raspberry pi is likely not and you don't know it exists. And even if you know it exists, you need computer to upload code to it and then you could have just use that computer to code. I know that it is easy to code when you know where to look, but the biggest hurdle is that many kids dont know where to look. Instead, they are told there is something magical and hard about it.

I remember being told that it is hard or that I cant compete because I am (presumably) just learning and other kids "already know a lot". It was bs, but that is where it is for many kids.

Seriously, I knew straight A students who were more hardworking then me and had good grades in math (meaning no dummies memorizing stuff) were under impression I have some special brain because I can program. All the myths around cs tend reinforce such nonsense.

Re:Why do so few people major in computer science? by brandonmenc on Tuesday May 30, 2017 @12:01PM (#14446238)
> Raspberry pi is likely not and you don't know it exists.

If a kid can't type "how do computers work" in google, they probably won't become a programmer. Are we really wringing our hands over that?

> All the myths around cs tend reinforce such nonsense.

There's another bit of nonsense around CS that a lot of people here believe - that there are all these secretly good programmers out there who just don't know they're programmers because no one ever told them how to start, and that they might not even know what programming is because it's so difficult to get started.

I find it nearly impossible to believe that there are all these smart people out there, surrounded by technology, with hacking and computers in every TV show, with the President telling them to "learn how to code", Bill Gates' name dropped by rappers, Google in everyones' pocket - and no one is typing "how does my smartphone/videogame/internet work" and reading the results?

Like, who is still walking around like, "I got good grades in school and knew people could become doctors, but I didn't know people could make computers go! Why didn't anyone tell me?!"

Are there other problems keeping people from breaking into the industry? Absolutely. Is "not knowing where to look" one of them? There's no way that it can be, not anymore.

Re:Why do so few people major in computer science? by ck425 on Wednesday May 31, 2017 @10:17AM (#14452687)
You're also missing the social aspect, particularly for girls. Depending on your personality, friendship groups, culture and Family it's often not socially acceptable to spend your free time as a teenager hacking away at stuff. You forget that those of us who are happy to spend those years in our bedrooms hacking away are weird. If you're a geeky boy you can get away with it, some folk may even encourage it. If you're a girl not so much.

The idea that we block off CS as a subject for only those who've taught themselves some programming is absurd and elitist. While we may expect Math students to know Math before Uni, it so happens that 99% of high schools teach the level of Math we expect them to know. In a lot of countries it's compulsory. Same goes with most of the sciences, we expect the level that schools will teach. Unfortunately most schools don't teach programming, and those that do often don't do it well.

Re:Why do so few people major in computer science? by watwut on Tuesday May 30, 2017 @02:19PM (#14447281)
> If a kid can't type "how do computers work" in google, they probably won't become a programmer. Are we really wringing our hands over that?

If a kid cant type "how human body works" in google, they probably won't become a biologists. Somehow, being constantly surrounded by all those bodies and dogs and grass they did not learned biology. Except that they come to college and do learn. But realistically, "how do computers work" is such a broad question that it does not have to do with anything. It is literally irrelevant question to anything practical.

But that is literally this culture I am talking about - the conviction that if you already don't know stuff and was not interested in the past, you are not talented point stop don't even try. Math teachers nor chemistry teachers assume that - if you are curious now are happy with you learning now.

> that there are all these secretly good programmers out there who just don't know they're programmers because no one ever told them how to start,

They are not secretly good programmers. That takes more then just aptitude. But yeah, a student with good memory and basic math aptitude has genetics for programming. There is nothing special about us. The hardest part of beginner is to figure out what makes sense to learn and what not.

> and that they might not even know what programming is because it's so difficult to get started.

Well, it is difficult when you don't know what to do and get told you probably don't have aptitude first time you struggle with something. It is easy if you learned from simple concepts, either because you run into right game or because you run into good teacher or book.

Exactly like any other learnable skill - math, chemistry, law, physics and so on.

> "with hacking and computers in every TV show"

That has nothing to do with reality. I see sword fights in many movies too.

> "and no one is typing "how does my smartphone/videogame/internet work" and reading the results?"

What does that question have to do with building sofware? Like, real world software with real world homework that suddenly out of nowhere expects you to have skills that were not taught previously.

What does that question have to do with algorithms? Programming languages? Whether the students would be more attracted to solving problems side or building things side or theory side or software engineering side, your how does videogame works is largely irrelevant. Plus the answer will be high level overview of memory/cpu and such.

> Are there other problems keeping people from breaking into the industry? Absolutely. Is "not knowing where to look" one of them? There's no way that it can be, not anymore.

You did not suggested a single practical place for beginner to learn stuff. Only few very general question that does not necessary lead to programming - most of them would lead to electronics at best. And such good resources exist, but none of your suggestions lead to them.

The "breaking into the industry" is far away from "starting with programming". But then again, that is part of nonsense around this. I know people who found a job with very little knowledge in small company just because they looked confident and hiring manager was inexperienced. Few of them even became good programmers, although they created huge mess on their way there and had to rely at politics a lot. But somehow, a honest student with good results in pretty much everything else is assumed unable to learn the same, because he is less good at pretending.

Re:Why do so few people major in computer science? by brandonmenc on Tuesday May 30, 2017 @02:53PM (#14447523)
> What does that question have to do with building sofware? Like, real world software with real world homework that suddenly out of nowhere expects you to have skills that were not taught previously.

You're way beyond the scope of the original discussion.

Someone suggested people would drop out of CS due to the grief factor of - for example - breakage due to missing semicolons.

Another person then suggests that maybe it's a good idea that CS majors have some experience programming before they enter the program. Note: some experience - no one said you need to have built a "real-world" team project before going into a CS program.

Then all hell breaks loose because, apparently, getting online and reading a couple tutorials and screwing around in a browser-based programming sandbox (there are tons), is something only wealthy people with college educated parents can do.

Sorry, but I don't believe that.

Re:Why do so few people major in computer science? by dagw on Wednesday May 31, 2017 @09:48AM (#14452444)
Another person then suggests that maybe it's a good idea that CS majors have some experience programming before they enter the program.

Why not offer two tracks? People who have never programmed before have to take a 6 month intro to computers course, that people who know how to program can skip. The people who skip the course can then either use the extra time to take other courses or graduate earlier.

Re:Why do so few people major in computer science? by verall on Wednesday May 31, 2017 @09:37AM (#14452348)
> screwing around in a browser-based programming sandbox (there are tons), is something only wealthy people with college educated parents can do

Having the free time with access to a computer to "screw around" on and knowledge of the existence of browser sand boxes are absolutely tied to class.

Re:Why do so few people major in computer science? by Spikeyduy on Monday May 29, 2017 @09:46PM (#14442563)
Honestly I think the only prerequisite for a CS major is to have interest in it. I never had any programming classes in high school and I switch my major 3 times until landing on CS. I had never programmed before in my life, but it was interesting to me and I found out I had an affinity towards it. I'm just saying this statement that you need to have some background to it is not necessary.
Re:Why do so few people major in computer science? by erroneousfunk on Tuesday May 30, 2017 @09:09AM (#14445034)
A video game console has a known and proven entertainment value. The whole family can use it. It's a reason for people to come over to your house. It's a status symbol.

Beyond that, I know a lot of poor kids who don't have video game consoles, and there literally isn't $50 in the budget for something that may or may not produce any value (not to mention the monitor, the peripherals, and taking up vast amounts of time on the family computer -- if one exists -- to figure out how to use it).

I have extended family living in rural Utah who don't even have a computer -- they use their phones for the Internet. You can debate back and forth about the cost of a phone vs. the cost of a cheap Desktop, but people need phones to function in society, for better or worse. Try figuring out what to do with a bottom tier smartphone, a limited data plan, and a Rasberry Pi that just arrived in the mail.

I volunteer at the Boston Museum of Science, working in the Tech Studio/engineering department, often showing off the latest "engineering toys" -- Little Bits, Rasberry pi, Scratch on an iPad that controls a Lego robot... Rich kid parents ask "Oh, where can I get this?" It's not a big deal for them to drop a couple hundred bucks on flavor-of-the-week programming toys. Poor kid parents are often interested and enjoy playing around with it at the Museum, but never ask about getting one themselves. It doesn't even occur to them.

Beyond THAT, there are a lot of majors that don't cost a lot of money. You can use the argument "X doesn't cost much to learn -- why haven't you done X before on your own time?" to apply to anyone.

Re:Why do so few people major in computer science? by brandonmenc on Tuesday May 30, 2017 @11:43AM (#14446107)
You can always point to someone who can't afford it. That doesn't make me wrong.

There are now computers that cost as little as taking the family out to dinner at McDonalds. Probably a hundred million more people (yes, however, not every single person, ok) have the means to learn programming compared to when I was a kid.

Acknowledge that, because it's amazing.

Re:Why do so few people major in computer science? by mysterydip on Tuesday May 30, 2017 @09:29AM (#14445184)
Sounds like a great opportunity for local libraries to become more relevant (and/or for a nonprofit org to supply them). I know many local libraries supply at least a few computers for internet browsing or whatnot. Why not a pi or two, or pocketCHIPs to loan out?
Re:Why do so few people major in computer science? by Hydraulix989 on Monday May 29, 2017 @09:20PM (#14442460)
> If you can afford a video game console, you can afford a raspberry pi (or equivalent.)

Right. This type of democratization is EXACTLY what allowed me to climb the social ladder out of the rural midwest into a Top 15 university and then Silicon Valley. As a teenager, all I needed to teach myself coding and advanced math was free time and an Internet connection.

Re:Why do so few people major in computer science? by xor1 on Tuesday May 30, 2017 @02:55AM (#14443361)
>Given the gender skew amongst high-school programmers, this is almost equivalent to saying "women should not be starting a CS degree"

What makes you bring up gender over race or class ? There are more middle-class Asian and White women in the field than lower-income African-American and Hispanic men.

Re:Why do so few people major in computer science? by jdietrich on Tuesday May 30, 2017 @11:06AM (#14445864)
The following sentence was about household income. I'm not entirely sure that race is a meaningful factor after correcting for socioeconomic status. Gender is demonstrably the biggest skew in CS majors.
Re:Why do so few people major in computer science? by erikbye on Tuesday May 30, 2017 @03:00AM (#14443382)
> We don't expect law students to have been amateur lawyers in high school; it's a bonus if they have been in the debate society or have taken a personal interest in the subject, but it's not necessary. I don't see why CS should be a special case...

Agreed, and when it comes to CS, programming is the easiest part. People who fail to see this are probably the ones who only know programming and no CS.

Re:Why do so few people major in computer science? by pbhjpbhj on Tuesday May 30, 2017 @07:26AM (#14444479)
If you've applied for a CS degree and not done any programming though why (outside of financial incentive) would a Uni want you, surely it shows you've no interest in the field - that has to correlate strongly with failure. From nothing to doing bubble-sorts with something like python shouldn't be more than a couple of weekends for someone of the caliber to study CS at Uni.

Say you apply to study marine biology but have never been to the seaside then sure, you might do fine, but really I'd be wondering why you weren't taking a gap year and doing some self-directed study at a beach (hey, that sounds fun!).

Re:Why do so few people major in computer science? by hx87 on Tuesday May 30, 2017 @10:19AM (#14445539)
Maybe because in the USA, you don't "apply for a degree" at the undergraduate level? You apply to be at the university full stop, or at most an honors program.
Re:Why do so few people major in computer science? by pbhjpbhj on Tuesday May 30, 2017 @11:50AM (#14446152)
So, you do modules or somesuch; presumably they have pre-requisites that work in largely the same way? Like for non high-school subjects "read chapters 1-4 of 'intro to $subject' and have a grade C or above on $exam"?

How do you manage expectations for courses/modules/whatever from both sides (teacher:student) without such things.

Re:Why do so few people major in computer science? by hx87 on Wednesday May 31, 2017 @01:55PM (#14454539)
You simply declare a major/concentration and register for classes in the appropriate departments. If you get acceptable grades in those classes you are allowed to continue.
Re:Why do so few people major in computer science? by pbhjpbhj on Wednesday May 31, 2017 @07:23PM (#14456703)
Isn't "declaring a major" almost synonymous with applying for a degree, presumably the declared major in this case would be "computer science", so requiring some programming knowledge for those declaring that major would be possible?

In theory can one easily go to a USA Uni based on relatively unrelated abilities - lets say history and cooking? - and leave with a degree in Electronic Engineering? If there are no subject-based pre-reqs why does one need to declare a major, or is that done later?

My UK degree was modular so I could have done something quite similar, but I was assessed for entry based on abilities pertinent to a nominated degree (not the one I ended up with as it happens). Modules still had [relatively loose, unassessed] pre-reqs such as reading particular books or understanding specific concepts.

Re:Why do so few people major in computer science? by hx87 on Thursday June 01, 2017 @11:06AM (#14460852)
By the time you have declared a major, you will have taken the prerequisite courses already. Some programming knowledge is required, but that can be acquired while at university, not before.
Re:Why do so few people major in computer science? by BearGoesChirp on Tuesday May 30, 2017 @09:17AM (#14445086)
>Given the gender skew amongst high-school programmers, this is almost equivalent to saying "women should not be starting a CS degree".

Somewhat related to your point, letting novice programmers get CS degrees doesn't fix the problem because there is still a performance gap which results in a hiring gap. If there is problem with demographics having unequal experiences, while colleges can be tweaked to keep the inequality from growing, it is far better to fix it where it comes from.

It's far simpler to say than do, but our society needs to find why the gender skew in high school programmers happens and stop it.

Re:Why do so few people major in computer science? by lostboys67 on Tuesday May 30, 2017 @06:50AM (#14444313)
You do in countries that specialise earlier you wont get into a STEM course at a UK Uni without the relevant GCSE / A Levels.

In the UK you start to specialise at 13/14

I and I bet having a GCSE and A level in Law would help for wanabe lawyers