Slashdot Mirror


Hour of Code 2015 Star Wars Tutorial: Spare the IF Statement, Spoil the Child?

theodp writes: Teaching U.S. K-12 kids their programming fundamentals in past Hours of Code were an IF-fy Bill Gates and a LOOP-y Mark Zuckerberg. Interestingly, the new signature tutorial — Star Wars: Building a Galaxy with Code — created by Lucasfilm and Code.org ("in a locked room with no windows") for this December's Hour of Code, eschews both IF statements and loops. The new learn-to-code tutorial instead elects to show students "events" after they've gone through the usual move-up-down-left-right drills. With the NY Times and National Center for Women & Information Technology recently warning against putting Star Wars in the CS classroom ("Attracting more female high school students to computer science classes might be as easy as tossing out the Star Wars posters," claimed an Aug. 29th NCWIT Facebook post), the theme of the new tutorial seems an odd choice for Code.org, whose stated mission includes "increasing [CS] participation by women." But if Star Wars is, as some suggest, more aimed at boys, perhaps Code.org has something up its sleeve for girls (a la last year's Disney Princesses) with another as yet unannounced signature tutorial that it teased would be "just as HUGE" as the Star Wars one. Any guesses on what that might be?

156 comments

  1. What kind of sexist.... by Anonymous Coward · · Score: 5, Insightful

    "Attracting more female high school students to computer science classes might be as easy as tossing out the Star Wars posters,"

    Excuse me, but by that warped sexist logic, just throw out the computers entirely! Replace them with stoves and dish racks!

    Literal WTF

    1. Re:What kind of sexist.... by phishybongwaters · · Score: 1, Insightful

      AGree 100%, while I agree with equality and I'm still amazed, and ashamed, that a gender pay gap even exists in 2015, assuming star wars posters are the reason girls aren't into coding, and suggesting putting up disney princess posters might help? That's about as sexist as it can get right there folks. People get into coding for various reasons, and the posters in the computer lab rarely have an effect. Why are we differentiating coders by gender at all? Why aren't we trying to attract ANYONE into coding regardless of gender or race? That said... If you are a female coder, I suggest you grow a thick skin before you try to get involved with any linux projects If you are a MALE coder, I suggest you grow a thick skin before you try to get involved with any linux projects The fact that the solution to the problem is itself sexist, I think we need to be looking broader at this. How does C# appeal to boys but not girls? It doesn't. It appeals to CODERS even before they know they are coders. All this will do is fill the market with mediocre coders, the same way photoshop has filled the graphic design market with mostly useless people who know how to operate 3 or 4 pre-built filters, and that's it. They don't even know what xif is. I work in IT, I see plenty of females here, not as many as males obviously, but they are here, qualified and talented as all get out. I think the sexist nature of the career field is what might put them off. Again, the solution from the "field" is itself blatantly sexist. "Maybe if we made the computers pink" Just... just no

    2. Re:What kind of sexist.... by Anonymous Coward · · Score: 1

      AGree 100%, while I agree with equality and I'm still amazed, and ashamed, that a gender pay gap even exists in 2015, assuming star wars posters are

      Does the 'gender pay gap' mean all females averaged against all males, or does it mean female wages vs. male wages in the same job title?

    3. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      This is the thing that makes it difficult for me to take Slashdot seriously. It's full of trolls and people who just want to argue any point with anyone, true or not.

    4. Re:What kind of sexist.... by bsdasym · · Score: 1

      This is the kind of insight that sets their heads spinning around with green stuff spewing out. Suggesting that Star Wars stuff is scaring away the girls is no different from saying it's the computers themselves.

    5. Re:What kind of sexist.... by Raseri · · Score: 4, Informative

      I'm still amazed, and ashamed, that a gender pay gap even exists in 2015

      Good thing it doesn't. That myth was busted years ago. Why are you still believing in it? Do you also believe in Santa Claus?

      http://www.huffingtonpost.com/christina-hoff-sommers/wage-gap_b_2073804.html
      http://www.cbsnews.com/news/the-gender-pay-gap-is-a-complete-myth/
      http://www.wsj.com/articles/SB10001424052702303532704579483752909957472
      http://www.forbes.com/sites/realspin/2012/04/16/its-time-that-we-end-the-equal-pay-myth/

      Stop parroting stupid shit just because you think it makes you look sensitive and enlightened. It doesn't. It just makes you look like an asshole with no critical thinking skills.

      --
      Writhe your naked ass to the mindless groove.
    6. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      If you'd actually step away from the Internet yourself and go outside once in awhile, you'll start seeing that this sort of thing *does* actually exist in the real world and is propagated by real people and even *gasp* real organizations of real people. OP is a bit scathing but he or she isn't completely off point. Go take a stroll in the hallways of your local college campus and read the kinds of posters put up by various student organizations.

    7. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      When you read this kind of shite you need to understand that it's not about "getting more girls into X."

      It's about "getting boys out of X". In fact, it's about attacking anything that boys and men enjoy. It doesn't matter what it is.

    8. Re:What kind of sexist.... by Anonymous Coward · · Score: 1

      It means all females averaged against all males.

      Studies done by people interested in demographics instead of propaganda have shown 1.) For people with 4 year degrees, the pay gap is a rounding error. 2.) Women pay women less than men pay women, at least for academic positions.

      Oh, looks like Raseri has answered your question first, but I'll post this anyway because I believe point #2 will point to the real problem and the windmill feminism is tilting against. Until feminism wants to stop legitimizing "internalized misogyny" these problems will never go away.

      All I can recommend is pay off your debts as soon as possible and get the hell away from tech. If you think the resurgence of racism is bad now with a black president, wait until the Coronation of Clinton is complete and the gender lunacy goes to 11.

    9. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      An excerpt from the hot new game, Slashdot Zero.

      > Look Left
      You look to the left, you see a large wall of text excrement. In front of it stands a man. "Hi, my name is Rob, and I believe everything I'm told and repeat it verbatim". You can see that he is a troll who guards the wall of FUD.
      > Talk to Troll
      The troll begins a long diatribe describing hypothetical scenarios involving women in tech, rape culture and glass ceilings. You feel yourself getting dizzy. You collapse. You awake hours later only to see the troll still talking.
      > Run Away
      You try to run away, the troll follows you repeating the same statements over and over, along the way he invades all private and unrelated conversations to announce how something said was deemed offensive. "Microaggressions" he yells loudly!
      > Run Home and Lock Doors
      You run inside and lock the doors but it is too late. Information of your "violent" words has been sent to your employer, you are now unemployable. Your name, picture and personal information has been sent to all the trolls in the area. You cannot leave your house without fear of dozens of blue haired Screaming Righteous Harpies assaulting you. You slowly begin to starve.
      You have died.

      Play again? : y/N

    10. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      A strange game. The only winning move is not to play.

    11. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      There are also a few Muslims who are terrorists, I guess we can't trust modern Muslims. Also I really love your "I know you are but what am I" little jab. Maybe when your brain has matured a bit you can participate in adult discussions.

    12. Re:What kind of sexist.... by Anonymous Coward · · Score: 0
    13. Re:What kind of sexist.... by oh_my_080980980 · · Score: 1

      Because "Star Wars" has something to do with programming...oh that's right it doesn't. But hey keep pushing those cultural stereotypes...

    14. Re:What kind of sexist.... by oh_my_080980980 · · Score: 1

      If you read the article it's about creating an inviting environment, which is true of anyplace. Walk into room with Star Wars posters and you wonder what kind of loser works here.

    15. Re:What kind of sexist.... by Raseri · · Score: 2

      And just look at all the citations you provided to back up your claim. Good job. I bet your parents are proud that you didn't die when they dropped you on your head.

      --
      Writhe your naked ass to the mindless groove.
    16. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      I disagree with you.

    17. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      See, now here is a problem. The original post is to the point that there is unconscious bias on display here, and to solve the so-called "gender-gap" issue we must seek to eliminate these unconscious biases (WHEREVER they occur). To a degree, this is possibly related to the "slippery-slope fallacy" - not all gender biases are equal (even if you think to the wonderful progressive film in which Arnold Schwarzenegger is pregnant).

      You and many others appear to me convinced that the only worthwhile course is to correct the SYMPTOMS of this unconscious bias, but to allow anyone and everyone to continue with their own biases as long as we are not directly affected or discriminated against by them.

      I believe a middle ground could be sought, but not with the inflammatory rhetoric like you have displayed here.

    18. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      Well, aren't you just a piece of shit?

      It has to do with robots, technology, and computers. Things that programmers are very interested in; non-programmer less-so.

      The "programmer stereotype" which you so idiotically discount, is a real thing. It's real because the more one entrenches himself into the hobby, the less-social it becomes. Sure, there are forums and boards and discussions taking place, but 99% of your work is done between you, a keyboard, and a monitor. Programming benefits from its hobby-centric skillset. I can sit in front of a monitor programming for 8 hours a day, at work, and then go home and program/mod a game for 8 hours, sleep 8 hours, and do it over again.

      It's a socially-isolating hobby, because tight-knit cooperation manages to actually DETRACT from productivity. You might have someone else working on a plug-in, or a different library of functions, but he does NOT mess with your .h file while you're crunching out how your system is going to "calculate the way a certain tissue responds to a certain stimulation". At the end of the day, you can have your little circle-jerk over pizza on how you managed to save a few hundred milliseconds using your new, shitty sorting algorithm, but after the jokes and hi-fives, you go back to your station and then either download the other person's progress from the SVN or copy/paste their solution to your problem from their instant messenger.

      This is great for dudes, who seek mancaves, problem-solving, tough-stuff, and chest-thumping as satisfaction to their testosterone-fueled cores. The more they crave this social isolation, personal-problem-solving, and challenge, the more the hobby appeals to them and the better they perform (albeit can be a personality headache for managers).

      For women that seek social interactions, problem-understanding, information-gathering, and cooperation, this isn't as satisfying a hobby. Women don't like hobbies that make them bleed as much as men do. They'll have 10 hobbies and be content to keep them at "amateur level" because that helps them relieve stress and connect with others. They don't like chest-thumping or braggadocio of solving the unsolvable.

      It turns out that social isolationists, for whatever reason, seem ridiculously-attracted to Sci-Fi. More than everyone else. Most people like sci fi enough, but aren't willing to dissect the difference between a Rancor and a Sarlacc. Social Isolationists seem to eat that type of shit for breakfast. It's one thing I've never had a psychologist/psychiatrist explain to me. Might make for a good study.

      Anyway, these are generalities, of course. There are millions of exceptions, as humans are unique. Only a complete fucking retard would consider the generalities falsified in the face of exceptions, though.

    19. Re:What kind of sexist.... by Kleanthes · · Score: 1

      Erm... Throwing a link to a text of Summers around disqualified you immediately, as it proves that you have no serious evidence. Thanks for playing.

    20. Re:What kind of sexist.... by ShanghaiBill · · Score: 3, Insightful

      Erm... Throwing a link to a text of Summers around disqualified you immediately

      Denigrating someone else's citations, while providing none of your own, is very bad form. You lose.

    21. Re:What kind of sexist.... by Kleanthes · · Score: 1

      You are confused. I did not intend to make a point for or against the wage gap. I just noticed what your choice of sources said about you. I have nothing to lose here, since I simply do not play without having a good understanding of a situation. So, no, I am just the guy who tells you that you failed miserably to show what you wanted to show. Try better sources next time, then at least it won't be so horribly obvious.

    22. Re:What kind of sexist.... by ljw1004 · · Score: 3, Informative

      Good thing [a gender pay gap] doesn't [exist]. That myth was busted years ago. Why are you still believing in it? Do you also believe in Santa Claus?
      http://www.forbes.com/sites/re...
      Stop parroting stupid shit just because you think it makes you look sensitive and enlightened. It doesn't. It just makes you look like an asshole with no critical thinking skills.

      I only read your Forbes link, not the others. But the Forbes article says that (1) a wage gap does exist, (2) it doesn't seem to be caused by on-the-job discrimination, and is instead caused by women being disproportionately employed in lower-paying roles.

    23. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      That's not a wage gap. Wage gaps are only meaningful if it's different pay for the same work. When they are disproportionately employed in lower-paying jobs, that means they are getting different pay for different work.

      The only two ways to expect the outcome of two people getting paid the same for different work is to not pay either of them, or have some third party (the govmint) pay them the same.

    24. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      And anyone that points this out is automatically shouted down as "sexist".

      This is feminism, people!

    25. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      Why are we differentiating coders by gender at all?

      Because few are as sexist towards women as feminists.

    26. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      I guess you didn't read the part where the forbes article says that they are in those jobs because of decisions they made rather than the lack of opportunities.

    27. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      What is wrong with that source exactly?

    28. Re:What kind of sexist.... by Raseri · · Score: 1

      It contradicts the narrative. Nothing more.

      --
      Writhe your naked ass to the mindless groove.
    29. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      So the "gender gap" exists solely in the coder space, then ? good to know

    30. Re:What kind of sexist.... by Anonymous Coward · · Score: 0

      Actually the story is about people desperate to get females to become coders because they feel there aren't enough female coders. Not because they ran out of people to hire.

  2. Holy links ... by gstoddart · · Score: 4, Insightful

    Wow, 13 freakin' links ... like anybody reads the articles now.

    Is there an actual article in there somewhere?

    --
    Lost at C:>. Found at C.
    1. Re:Holy links ... by grimmjeeper · · Score: 5, Funny

      I'm still trying to figure out what the OP is trying to say. The summary is so disjointed it's nearly impossible to follow. Well, unless you have ADHD or.... LOOK! SQUIRREL!!!!.... hey, lets go ride bikes.

    2. Re:Holy links ... by Anonymous Coward · · Score: 0

      Sorry that was a MALE squirrel and thus deserves no notice.

    3. Re:Holy links ... by jetkust · · Score: 1

      He's basically saying bla bla bla [INSERT REFERENCE TO STAR WARS] bla bla bla....

    4. Re:Holy links ... by oh_my_080980980 · · Score: 1

      It's pretty easy when you read the article:

      "Over and over, Dr. Cheryan and her colleagues have found that female students are more interested in enrolling in a computer class if they are shown a classroom (whether virtual or real) decorated not with “Star Wars” posters, science-fiction books, computer parts and tech magazines, but with a more neutral décor — art and nature posters, coffee makers, plants and general-interest magazines."

      "The researchers also found that cultural stereotypes about computer scientists strongly influenced young women’s desire to take classes in the field. At a young age, girls already hold stereotypes of computer scientists as socially isolated young men whose genius is the result of genetics rather than hard work. Given that many girls are indoctrinated to believe that they should be feminine and modest about their abilities, as well as brought up to assume that girls are not innately gifted at science or math, it is not surprising that so few can see themselves as successful computer scientists."

    5. Re:Holy links ... by Anonymous Coward · · Score: 0

      And two are just direct links to jpg images.

    6. Re:Holy links ... by Anonymous Coward · · Score: 0

      Bill gates something if statement... ooh Star Wars something women programming poster something or other snore? Zuckerberg!
      Some sort of Tourette's maybe?

  3. For the Nth Time by s.petry · · Score: 2

    I realize that some social engineers want this done, and that certain agencies make money selling the fantasy (media). Teaching someone to code does not make them a programmer. No, it does not make them a better person. No, it does not make them responsible or moral. What it does do is try to flood the market with cheap labor, and make a zombie force that can't think very well for themselves.

    Just say "NO" to social engineers working for the ultra wealthy!

    --

    -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

    1. Re:For the Nth Time by Anonymous Coward · · Score: 0

      I realize that some social engineers want this done, and that certain agencies make money selling the fantasy (media). Teaching someone to code does not make them a programmer. No, it does not make them a better person. No, it does not make them responsible or moral. What it does do is try to flood the market with cheap labor, and make a zombie force that can't think very well for themselves.

      Just say "NO" to social engineers working for the ultra wealthy!

      What is wrong with cheap labor? What is wrong with a zombie force? What is wrong with the ultra-wealthy?

    2. Re:For the Nth Time by DriveDog · · Score: 1

      Uh, yeah, what he said.

    3. Re:For the Nth Time by Raseri · · Score: 1

      It will work, for a year or two, then the percentage of women who code will drop back to normal levels. Tellingly, nobody ever says why having more men than women programming is a bad thing. If you ask anybody pushing this shit you'll be met with shrieking accusations of misogyny and racism (yes, really; women are a race now, apparently). The left-wingers these days go full Godwin at the mere hint that someone isn't deep-throating the precious Narrative(TM).

      --
      Writhe your naked ass to the mindless groove.
    4. Re:For the Nth Time by BarbaraHudson · · Score: 4, Insightful

      You're also not teaching someone to code if you avoid conditional logic and loops. That was true if life as well, even before computers. "If (no cars coming) cross the road. or while (timer less than 45 minutes) leave cake in oven. or while (hungry) eat. Even case statements are handy constructs.

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    5. Re:For the Nth Time by Anonymous Coward · · Score: 0

      Well, as someone who builds and supports intranet web applications for a population dominated by 40 to 65 year olds, I really don't care whether these users are good or moral people, but would weep tears of joy if they all woke up one day with a baseline level of computer literacy and the slightest inkling about the logical framework behind an application. If the whole "learn to code" movement does nothing more than accomplish THAT for a generation or two of kids and adults (preferably without fostering any delusions about career prospects), I think it will do humanity a great service.

    6. Re:For the Nth Time by Moses48 · · Score: 1

      Teaching someone to do "algebra" does not make them a "mathematician." No, it does not make them a better person. No, it does not make them responsible or moral. What it does do is try to flood the market with cheap labor, and make a zombie force that can't think very well for themselves. We don't want carpenters using this knowledge for square footage estimates. They should go to their local mathematician union to get a qualified calculation. /s

      I get what you're saying, but I don't think most people are arguing that exposing kids to programming makes them a software engineer. I learned a needle and thread, drilling, painting, etc in school. I ended up a software engineer, but those teachings were useful to me as a person.

    7. Re:For the Nth Time by Anonymous Coward · · Score: 0

      But those 40 to 65 years olds were all just the right age to learn when home computers came out!
      I'm 41, and my parents and siblings and I all got computer literacy at the same time. How did so many people miss out?

    8. Re:For the Nth Time by Anonymous Coward · · Score: 0

      I see. People don't like to program? Girls especially? Well, we will just have to *make* them like it.

      I am sure that once they are hooked the realities of the industry won't drive them away.

    9. Re:For the Nth Time by NMBob · · Score: 1

      Everyone is equal and unique, so no need for if's or loops. :)

    10. Re:For the Nth Time by x0ra · · Score: 1

      Tellingly, nobody ever says why having more men than women programming is a bad thing.

      Quoting Canadian PM: "Because... It's 2015."

    11. Re:For the Nth Time by Anonymous Coward · · Score: 0

      Abundant cheap labor threatens the economic stability of many people in the middle class. Probably, the author was one such.

      The lower class tends to automatically assume that the wealthy are greedy and hence evil, as evidenced by the fact that they indulge in expensive luxuries rather than share all that wealth.

      The upper class tends to automatically assume that the poor are lazy and worthless (as evidenced by the fact that they are poor), and that they all want to leech off the wealthy without contributing anything in return.

      None of this is new, really.

    12. Re:For the Nth Time by Anonymous Coward · · Score: 0

      Tellingly, nobody who discounts efforts to expose more women to programming ever says why having more men than women programming is a good thing.

      FTFY.

    13. Re:For the Nth Time by SQLGuru · · Score: 1

      While I'm not arguing that conditionals and looping structures are very handy, it *IS* technically possible to code entirely with events (as the summary describes) ---- provided that data is available to each event handler.

      Assume a fictitious pseudo language:

      data {
          msg: string = "",
          counter: int = 0
      }

      when(App.Starting) {
          msg = "Hello World";
          counter = 1;
      }

      when(counter.modified && counter 10) {
          App.Finish();
      }

      Obviously, a compiler would optimize this into a simple loop with a conditional, but it's possible to create a language that doesn't need either loops or conditionals [unless you count the event definition a conditional -- semantics]. In fact, I've used NOOLS (https://github.com/Pollenware/nools, http://blog.dougamartin.com/20...) to implement business logic in a project following a similar pattern......but since you can use JavaScript within each rule, we also had loops and conditionals.

    14. Re:For the Nth Time by Raseri · · Score: 1

      That's not an explanation. It's bullshit handwaving. Women can do whatever they want, and make up the majority of college graduates, and have for 30 years: http://www.forbes.com/sites/cc... If most of them choose a career path that isn't "Code Monkey", who's to say that they've made the wrong choice? The next question, then, is, "For whom is this actually bad?"

      --
      Writhe your naked ass to the mindless groove.
    15. Re:For the Nth Time by Anonymous Coward · · Score: 0

      Ya, I think that guy would have kids choose their future careers in grade 2.

    16. Re:For the Nth Time by Raseri · · Score: 1

      Nobody said it was a good thing; it just is what it is. If you make the claim that this is bad, then you provide the explanation for how and why, otherwise just stop talking because you have nothing of value to add to the discussion.

      By that same token, if you think every naturally-occurring facet of reality must necessarily be categorized as good or bad, you're probably too stupid and/or childish to be participating in any adult discussion in the first place.

      --
      Writhe your naked ass to the mindless groove.
    17. Re:For the Nth Time by thedonger · · Score: 1

      That's not an explanation. It's bullshit handwaving. Women can do whatever they want, and make up the majority of college graduates, and have for 30 years: http://www.forbes.com/sites/cc... If most of them choose a career path that isn't "Code Monkey", who's to say that they've made the wrong choice? The next question, then, is, "For whom is this actually bad?"

      And who really wants to be a code monkey, anyway? Big coding shops are more like an assembly line. The pay is good because of competition -- or at least it will be until the market is even more flooded with "programmers."

      --
      Help fight poverty: Punch a poor person.
    18. Re:For the Nth Time by Anonymous Coward · · Score: 0

      The lower class tends to automatically assume that the wealthy are greedy and hence evil, as evidenced by the fact that they indulge in expensive luxuries rather than share all that wealth.

      Do let us keep in mind that in the vast majority of cases, it is the lower class which is actually generating all that wealth.

    19. Re:For the Nth Time by Anonymous Coward · · Score: 0

      ... but would weep tears of joy if they all woke up one day with a baseline level of computer literacy and the slightest inkling about the logical framework behind an application.

      Sorry, but if they need to know the logical framework behind an application to use it properly, you've done it wrong. Or do you think you should have to understand shear loading and moments of inertia to drive across a bridge?

    20. Re:For the Nth Time by oh_my_080980980 · · Score: 1

      Star Wars is social engineering. Disney is betting your brain has turned to mush after watching so much crap that you will go and see this movie.

    21. Re:For the Nth Time by oh_my_080980980 · · Score: 1

      Take head out ass for a second. Programming is not a core course. Algebra is a core course. Algebra is fundamental and other subjects build off it, like programming. Programming is not fundamental. Now you may put your head up your ass.

    22. Re:For the Nth Time by Anonymous Coward · · Score: 0

      If you are concerned about other people learning how an if-then or loop statement works and taking your job away, perhaps your skills don't require such a high salary.

    23. Re:For the Nth Time by Anonymous Coward · · Score: 0

      It's a structural economic inefficiency to have roughly half your potential workforce not participate in producing products because they have been culturally conditioned to think they can't or shouldn't do it.

      In grater detail, the point of having careers is comparative advantage. Which is several individuals focus on the thing they can do best and get even better at it then trade with each other resulting in a grater overall rate of production from the same labor pool. When half the individuals are opting out of high value specializations for no reason it causes a relative shortage of that specialty and that translates to reduced production overall.

    24. Re:For the Nth Time by Anonymous Coward · · Score: 0

      If we make programming more accessible to women, than men, by setting standards and expectations lower for women, of course that's going to negatively affect women in programming.

      Imagine you're the Director of IT, hiring a new programmer. What you have are two options within your budget:
      1. Programmer, Male. Had to create his own ARM-compatible custom OS in order to get his resume through HR and onto your desk.
      2. Programmer, Female. Had to write on her resume that she's really into programming stuff to get her resume through HR and onto your desk.

      I'm going to go for the one that didn't get leg-ups and hand-outs all along the way. I'm going to go with the one that passed his classes because he has some odd affinity for programming. I'm going to go for the one that got into programming without being coerced by "helpful initiatives" because it's a successful way of life. Unless, of course, the girl has big boobs.

    25. Re:For the Nth Time by s.petry · · Score: 1

      Teaching someone to do "algebra" does not make them a "mathematician."

      Programming is not a base level skill, and making such a comparison is idiotic. Your next statement demonstrates that you know better, but you are not extrapolating your own thoughts.

      I get what you're saying, but I don't think most people are arguing that exposing kids to programming makes them a software engineer.

      Straw man, but you are almost making my point in your attempt to look knowledgeable. Kids today are not learning critical thinking, they are learning how to take tests and remember what people tell them. Facts don't matter, doing exactly what you are told matters. "Programming" is not some savior in a completely broken education system, and it will only make things worse.

      We don't toss kids into genetic engineering classes because the kids lack the basic knowledge to understand it or use it. We don't toss 3rd graders into Calculus for the same reason. For some reason you, and other people, think that programming covers a magical divide. In reality, programming can only work with knowledge you already have so teaching it young is harmful. Kids lack wisdom, and that is the point social engineers enjoy.

      --

      -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

    26. Re:For the Nth Time by s.petry · · Score: 1

      Actually no to your guess at my thought process in all regards. What is wrong with all of the above is simple: Society needs to feed itself. If we bring in cheap labor society as a whole drops and suffers and the standard of living drops. We have already seen this extensively hit the US Middle Class. What is wrong with the ultra wealthy is that they should not exist in any fashion which allows them to manipulate the majority of the populace and reduce their living standards to have more stuff.

      Read Plato's The Republic and you will find a discussion about the artisan and how much he gets paid. That people with wealth manipulate and cause harm to get more is not some new novel thing, it's happened for at least 2,600 years. Socrates had a remedy in the Republic, and the founders tried to implement the idea. Corruption has taken us backward and we lean more toward nobles and serfs today, compared to just 20 years ago. Let alone 30, 40, 50, 60, you get the idea.

      --

      -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

    27. Re:For the Nth Time by Anonymous Coward · · Score: 0

      If-branching and do-loops are pure evil.

      https://wiki.haskell.org/If-then-else

    28. Re:For the Nth Time by BarbaraHudson · · Score: 1

      If-branching and do-loops are pure evil.

      https://wiki.haskell.org/If-then-else

      Then you might as well burn your cpu at the stake. Assembler contains opcodes to do both. So ultimately, higher-level languages depend on this functionality.

      --
      "Transparent" is a shit show that trades on every stereotype going. A man in drag is NOT a transsexual.
    29. Re:For the Nth Time by Moses48 · · Score: 1

      Maybe I"m naive as to what you are referring to with social engineering. I have a 5 year old. She is able to do algorithms. if this then that etc. I think teaching her this is helpful even if she doesn't end up a programmer. I don't think teaching her programming is harmful and I find it odd that someone would see it as harmful. Could you elaborate?

      PS - I don't think programming covers some magical divide. I am not teaching my daughter the dijkstra's algorithm to start, we start with simple sequences (as do all the lessons I've seen in public schools).

      On a completely seperate note: Critical thinking vs regurgitation has always been an issue independent of programming.

    30. Re:For the Nth Time by Moses48 · · Score: 1

      I can see some people seem to hate the algebra comparison. Let's try a different comparison. Sculpting. Everyone sculpted in school. Yet most people aren't sculptors. Everyone learned what an endoplasmic reticulum is. Yet very few went on to use that knowledge as a biologist. A lot of school is to give yourself exposure so you can find your passions. That's all I'm trying to say. Don't deny people that exposure.

    31. Re:For the Nth Time by s.petry · · Score: 1

      You should not be so uninformed/uneducated that you believe 'if then" logic is really programming, let alone an algorithm. "If then" is decision making based on what ever criteria you have at hand at the time you are making the decision. When dealing with simple objects "if A=2" decisions are easy. What happens when this becomes abstracted even a little? What happens when it's a moral decision without clear definition? What happens if someone lies to you and tells you A=2 and it's not? How do you know what A really is?

      The programming curriculum pushed is just like common core. Do what you are told, believe what you are told, and if you do those two things you pass. You are not given time to validate what you are told, let alone being taught to question what you are told.

      More simply put, teaching the decision making process is a good thing especially when there are consequences to the decisions. Teaching it with a very rigid and extremely limited set of rules is not a good thing, and early on is harmful. One must also be taught morality, which both which to have and how the world really works.

      --

      -The wise argue that there are few absolutes, the fool argues that there are no probabilities.

  4. IF by bondsbw · · Score: 4, Funny

    if (!programLogic.Contains("if"))
    {
        _isTrivial = true;
    }

    --
    All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    1. Re:IF by bondsbw · · Score: 1

      (Or, at least, something that is equivalent to if or decision-based branching.)

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    2. Re:IF by behrooz0az · · Score: 1

      _isTrivial |= !programLogic.Contains("if");

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion. -- Spazmania (174582)
    3. Re:IF by Anonymous Coward · · Score: 0

      You do realize that your fancy looping bullshit you do is just a bunch of conditional branches, which is assembler for "if"

    4. Re:IF by Anonymous Coward · · Score: 0

      Equivalent, but not a counter argument: The test is for the absence of if. Bondsbw made no claim that the presence of an if statement makes the program non-trivial.

    5. Re:IF by bondsbw · · Score: 1

      Yes, but I'm not sure what the hell that has to do with what I wrote.

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    6. Re:IF by Anonymous Coward · · Score: 0

      Don't forget all those kiddies that just hate hate HATE the GOTO command, yet they will happily use BREAK or CONTINUE, the exact same command coated in sugar that jumps to the end of a loop chunk.
      At best, saving you having to write a label, on the other hand though, causing you to write at least 2 extra commands to replace it in most cases outside of people abusing LOOPs for other stuff.

      I remember seeing some horribly bad code that used a LOOP over IFs. Holy hell that was hilarious.
      The lengths people go to in order to not use commands because Bad Opinions and stupid people that don't understand how programs actually work.

    7. Re:IF by Anonymous Coward · · Score: 0

      It avoids the IF statement?

    8. Re:IF by AnotherBlackHat · · Score: 1

      v,i,j,k,l,s,a[99];
      main()
      {
              for(scanf("%d",&s);*a-s;v=a[j*=v]-a[i],k=i<s,j+=
      (v=j<s&&(!k&&!!printf(2+"\n\n%c"-(!l<<!j)," #Q"[l^v?
      (l^j)&1:2])&&++l||a[i]<s&&v&&v-i+j&&v+i-j))&&!(l%=s),
      v||(i==j?a[i+=k]=0:++a[i])>=s*k&&++a[--i])
                      ;
      }

    9. Re:IF by bondsbw · · Score: 1

      But as you can clearly see, I did not avoid the IF statement. Again, wtf are you talking about?

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    10. Re:IF by bondsbw · · Score: 1

      The second part of a for loop is a condition (implied "if").

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    11. Re:IF by AnotherBlackHat · · Score: 1

      So is '?'.

      if (a==5) { b=2; } else { b=3; }

      same as

            b = (a==5)? 2:3;

      same as

          b = (a==5) * 2 + (a!=5) * 3;

      Or in other words;
          If (crazy_enough) then (if_not_needed)

    12. Re:IF by behrooz0az · · Score: 1

      That's why I used the |= operator

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion. -- Spazmania (174582)
    13. Re:IF by hvdh · · Score: 1

      b = 3 - (a == 5);
      C++ converts bool to 1 (true) resp. 0 (false).

  5. Star Wars and girls? by jdavidb · · Score: 3, Insightful

    I'm married with three daughters, and all the women and girls in this house like Star Wars.

    1. Re:Star Wars and girls? by The-Ixian · · Score: 0

      Well duh... you have taught your kids to like SW...

      The issue is the "princess in distress" trope. It is not a good message for girls.

      The only "kick ass" female I can even point to in SW is Leia... and yet she needs saving by a male regularly and is completely objectified for the better part of an entire movie.

      --
      My eyes reflect the stars and a smile lights up my face.
    2. Re:Star Wars and girls? by Anonymous Coward · · Score: 0

      people who dont like star wars need to be rounded up and put into reeducation camps

    3. Re:Star Wars and girls? by gstoddart · · Score: 1

      Yeah, no kidding ... I'm pretty sure I've seen a friend's 5-year old daughter wearing her princess dress, playing with her light saber and Batman figurine, and beating up the boys she was playing with.

      Because that's how she rolls. ;-)

      She could also use a BlackBerry Playbook when she was 2.

      If she wants to code she'll bloody well do it. If she doesn't, I pity the person who tries to force her to do it.

      But her Yoda t-shirt tells me Star Wars posters won't be a barrier to anything she does.

      --
      Lost at C:>. Found at C.
    4. Re:Star Wars and girls? by Anonymous Coward · · Score: 0

      Good for them. Internet high-five to you. I'm guessing even if they didn't like star wars but thought coding was fun they'd still do it. :)

      I have a son who loves My Little Pony (new one) and also loves Star Wars. He also thought that the pink batting helmet made him run faster and looked cooler than the dull blue ones. From what I could tell the other kids would have agreed with him if they weren't receiving cues from their parents that it was somehow unacceptable such as "no honey, how about you put on the red one". To me, if you're trying to reach out to children trying to cater to gender stereotypes will just re-enforce them just like the other parents were teaching their kids that pink helmets aren't okay. Well, you know except for breast cancer awareness month - then we can paint everything pink and its even okay for football players to be pink.

    5. Re:Star Wars and girls? by Oligonicella · · Score: 1

      Any average woman attacked by any average man will be a de facto "princess in distress" simply because she will be overpowered. This also goes for the kick ass female going up against a kick ass male. The trope is much more aimed at teaching young men that they have a responsibility to protect the innocent and vulnerable.

      Unless they're highly trained, it would be a horrible disservice for anyone to teach their daughter that she should go toe to toe against a man without fighting like all hell while simultaneously screaming at the top of her lungs for help.

    6. Re:Star Wars and girls? by Anonymous Coward · · Score: 0

      Padme was pretty kick ass. Though she did need saving on occasion, it was quite clear that the men were basically just bodyguards, and everyone (even kick ass women) must sleep.

    7. Re:Star Wars and girls? by chispito · · Score: 1

      I'm married with three daughters, and all the women and girls in this house like Star Wars.

      Right, and it's pretty clear the next movie(s) features a female lead.

      --
      The Daddy casts sleep on the Baby. The Baby resists!
    8. Re:Star Wars and girls? by Jason+Levine · · Score: 1

      The only "kick ass" female I can even point to in SW is Leia... and yet she needs saving by a male regularly and is completely objectified for the better part of an entire movie.

      In the first movie, she needs saving from the Death Star/Vader because she was actively working with the rebellion. During the rescue, however, she takes charge at various points to help herself get rescued (even sarcastically commenting on the "skill" of Luke/Han/Chewie in rescuing her). After that, she's not in the final battle, but she's helping coordinate the attack.

      The last movie does have her in a demeaning "Slave Leia" outfit. However, I think that outfit being demeaning was the whole point. Jabba is a horrible, horrible person (well, Hutt). He's not a nice guy at all. He's willing to let one of his dancers get eaten on a whim/for laughs. Leia is captured by him, but this is all part of a plan to get everyone in the right position. When the time is right, Leia doesn't just wait for Luke to rescue her. Instead, she uses the very chains that Jabba put on her to "keep her in her place" to choke him to death. Then she escapes from Jabba's skiff with Luke. She's also instrumental in the final battle on Endor befriending the Ewoks who, hatred of Ewoks aside, do help in the end.

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    9. Re:Star Wars and girls? by Anonymous Coward · · Score: 0

      ...needs saving by a male regularly...

      Let's see...
      1) Rescued from the Death Star detention cell after going toe to toe with both Tarkin and Vader.
      2) Han redirects her to the Falcon on Hoth, because the tunnels to her original transport are blocked/collapsed. (That's stretching a 'rescue'.)
      3) Lando frees the entire captured group on Cloud City. (Kind of stretching 'she always needs rescued', when the *entire* group needed rescued.)
      Got any others?

      Just off the top of my head, she's responsible for rescuing quite a few people. (More times than she 'needs saving by a male'.)
      1) Immediately rescues her rescuers who had gotten them all trapped in the detention level.
      2) Saves Luke's neck at the bridge. Goes on to kill as many stormtroopers as anyone else while escaping.
      3) Gets hundreds of Rebels off of Hoth by coordinating the evacuation effort, even after she's supposed to already be gone.
      4) Even while captured by the Empire, tries to warn Luke away from Vader's trap. (He doesn't listen.)
      5) Rescues Luke at Cloud City.
      6) Saves Han at the bunker on Endor.
      7) Befriends the Ewoks, who turn the tide on Endor, saving the team on the surface as well as the *entire* Rebel fleet.

      ...is completely objectified for the better part of an entire movie.

      Not even close. While Jabba *tries* to objectify her, she's only playing along in order to fulfill her part in the plan to rescue Han. In fact, it's during those scenes when she kills Jabba with her bare hands, demonstrating that she's *quite* a bit more than the eye-candy you're trying to claim.

      Frankly, Leia is a badass.

    10. Re:Star Wars and girls? by Jason+Levine · · Score: 1

      Which made her death as the end of Episode 3 all the more frustrating. She's able to take on anything and everything, but her guy turned to the Dark Side? That's it, time to die. Never mind that she has children now or any other reason to live (even if it was to try to redeem him). Nope. Padme just says "Anakin's on the Dark Side so I'm dying now" and that's that. If she had to die, she deserved a much more meaningful death than that.

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    11. Re:Star Wars and girls? by kit_triforce · · Score: 1

      Seems like a good time to show that friendship (or events) is magic and bring in the pony.
      Should be enough brony coders out there to create an equestrian curriculum.

    12. Re:Star Wars and girls? by Matheus · · Score: 1

      Most girls/women I know like Star Wars as well. Even those who aren't big fans I'm not seeing any who would run away from something just because Star Wars they just don't seek it out.

      That being said: In my own limited demographic of "girls I know" they would get MUCH better buy in from Dr. Who. The reboot of the series really grabbed the XX side of the gene pool in a big way for whatever reason. I can't blame 'em... I've always liked Dr. Who but the reboot has the ladies swooning. Are the new Doctors that much hotter than the old ones? Are the storylines more relateable to women? Inquiring minds want to know!

    13. Re:Star Wars and girls? by oh_my_080980980 · · Score: 1

      Yeah that worked out well for Greg Hardy and Ray Rice.

    14. Re:Star Wars and girls? by oh_my_080980980 · · Score: 1

      You do realize the audience is the one doing the objectifying...

    15. Re:Star Wars and girls? by oh_my_080980980 · · Score: 1

      You do if you liked the prequels...

    16. Re:Star Wars and girls? by sandytaru · · Score: 4, Insightful

      Yeah, I'm puzzled over this. When I was a 14 year old I fell madly in love with Star Wars. I wanted to be Princess Leia and I wanted to marry Han Solo. Cool stories don't need to be separated by arbitrary gender binaries.

      --
      Occasionally living proof of the Ballmer peak.
    17. Re:Star Wars and girls? by sandytaru · · Score: 1

      There was a small campaign on Tumblr to rename the outfit from "Slave Laia" to "Hutt-Slayer Leia."

      --
      Occasionally living proof of the Ballmer peak.
    18. Re:Star Wars and girls? by Anonymous Coward · · Score: 0

      The only "kick ass" female I can even point to in SW is Leia

      And what fraction of female characters in Star Wars is that?

    19. Re:Star Wars and girls? by Grishnakh · · Score: 1

      Well that's what happens when Lucas writes a script and won't let anyone critique it.

    20. Re:Star Wars and girls? by Grishnakh · · Score: 1

      Only if they dislike Episodes 4-6 (and especially #5).

      Disliking Episodes 1-3 is the sign of a sane mind and good taste.

    21. Re:Star Wars and girls? by Grishnakh · · Score: 1

      More than a few decades ago, pink was considered a manly color.

      http://forgottenhistoryblog.co...

  6. No If statements? by Anonymous Coward · · Score: 0

    Wait, coding without If or Loops? What madness designed for a extra high level language is this? Damn. I am sure some of you here learned to code long before I did using who knows what - an abacus or something. But when I learned to code, and If statement was something pretty low level - we used things like cmp and je, jne, jl, etc. Yep, old school and close to the processor. Now they want to use an EVENT instead of an IF? Is that how the Oracle (Sun) JRE was written? It would explain why it is so slow...

  7. Oh no, events! by Anonymous Coward · · Score: 0

    Apparently this would be a shock to the submitter, but event-driven programming is a common paradigm these days. This isn't some goofy new thing invented for this tutorial, it is a quite useful standard practice in the code bases I've been working on for the last decade. Admittedly, all of the intro to programming things I'm aware of start with if statements and then loops and take quite a while to get to why an event-based control flow can be useful, but I'm not shocked by it; for the example in the screenshot, being event-driven is the right way to deal with user input...

    Moreover, "star wars isn't for girls"? Did the submitter not look at their own screenshot of princess Leia? Has the submitter not seen any of the trailers showing that one of the stars of the new starwars movie is female?

    1. Re:Oh no, events! by Anonymous Coward · · Score: 1

      Even event-driven programming requires decision and flow-control statements at some point. Imagine a space invaders style of game without the ability to determine whether a "shot" has "hit" a particular space craft moving across the screen.

    2. Re:Oh no, events! by theodp · · Score: 2

      "Star Wars isn't for girls," are the NYT's, NCWIT's, and FORTUNE's words, not mine. :-)

    3. Re:Oh no, events! by khellendros1984 · · Score: 1

      The hit-detection code would be somewhere in the event-generation system, most likely. Students would have a "whenHit" function or something. An event dispatcher would need loops and conditionals, so I assume that things inside the actual event-generating engine are outside the scope of what's covered in the tutorial.

      --
      It is pitch black. You are likely to be eaten by a grue.
  8. Differences in Subject and Narrative by Anonymous Coward · · Score: 3, Insightful

    2014: Promotional campaign using mass-media characters targeted at girls. Media narrative: is it acceptable to expose kids to commerically-owned media franchises in an educational context?

    2015: Promotional campaign using mass-media characters targeted at boys. Media narrative: is it acceptable to expose kids to educational content that might be oriented towards boys?

    Conclusion: Narratives regarding possible female exclusion trump allegations of corporate mass-media meddling. Useful information for CorpComm professionals.

  9. The Return of BASIC... by __aaclcg7560 · · Score: 2

    I for one welcome our new GOTO overlords!

    1. Re:The Return of BASIC... by idontgno · · Score: 1

      I for one welcome our new G0-T0 crimelords!

      FTFY.

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    2. Re:The Return of BASIC... by halivar · · Score: 1

      I believe the abject fear of goto has fundamentally damaged the last 20 years of CS graduates. Having avoided goto completely, they are unable to conceptualize any programming logic lower than 4GL, much less optimize their higher-level code for it. I personally think we should go back to using IF and GOTO as first concepts for child programming, and build understanding of higher-level control flow from there.

    3. Re:The Return of BASIC... by HornWumpus · · Score: 1

      If one of your first 3 languages isn't assembler you are doomed!

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
    4. Re:The Return of BASIC... by Jason+Levine · · Score: 1

      GOTO Comment(50924379)

      And now anyone reading the comments from the top down will be caught in an infinite loop! *insert evil laugh here*

      --
      My sci-fi novel, Ghost Thief, is now available from Amazon.com.
    5. Re:The Return of BASIC... by halivar · · Score: 1

      It doesn't need to be assembly. For the most part, you can still teach low level concepts in a high-level language.

    6. Re:The Return of BASIC... by HornWumpus · · Score: 1

      If you don't get down and dirty with the silicon early, you never will.

      --
      John McAfee 'It was like that time I hired that Bangkok prostitute; to do my taxes, while I fucked my accountant'
  10. More names by JoeyRox · · Score: 2

    DO Kiss your Privacy Goodbye WHILE Using Facebook
    IF Windows 10 THEN Microsoft uploads your personal information
    FOR Google App in List of Apps Let x = Another 10 million users bought and sold to highest bidder

  11. So CS needs more girls? by Anonymous Coward · · Score: 0

    Just that many more people to be displaced by H1Bs after they put in the effort to get their employer's IT infrastructure stood up. Of course, they have the benefit of being able to scream sexual discrimination and file class action lawsuits...

    1. Re:So CS needs more girls? by x0ra · · Score: 1

      Well, no, Tech company will be able to save on income due to "wage gap" !

  12. Sure why not by DarkOx · · Score: 2

    I mean teaching people to use highly abstract concepts like events before they have mastered basic control flow is certainly the path to their developing a greater understanding.

    STUPID!

    --
    Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    1. Re:Sure why not by Anonymous Coward · · Score: 0

      I don't think you're thinking of it like a 7 year old.

      I showed this website to my 7 year old, who's never looked at code before, has never tinkered with Lego NXT, etc.

      I started explaining the first puzzle, showed him how to drag the "puzzle pieces" and he practically shoved me off the keyboard and proceeded to successfully get through the entire lesson.

      He even created his own lil mini game at the end, placing Tuantaun's, and programming it so every time he hit a Tuantuan it created a bunch of mynoc's.

      In my opinion, this far exceeds what they are trying to do, to get kids interested in programming. His eyes lit up, he loved it, and he wanted to do it again tonight. I offered to set him up on my Lego NXT so he can play with that, since the visual programming is basically the same.

    2. Re:Sure why not by bunratty · · Score: 1

      To me, a mouse click seems far more concrete than the idea of a counter variable. Anyone who uses a computer can tell you what a mouse click is! In what way is an event "highly abstract"?

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    3. Re:Sure why not by x0ra · · Score: 1

      don't you understand, it's purely meant to target the callback hell of Javascript...

    4. Re:Sure why not by x0ra · · Score: 1

      I'm not sure being a minion for Facebook / Google / Amazon is a particularly bright future you want for your kid...

    5. Re:Sure why not by Anonymous Coward · · Score: 0

      Welcome to the new Node JS event-driven programming paradigm.

      Everything these days are "events" and "callbacks."

      Readable program flow? Programs that aren't 12 deep nested callbacks that do nothing but register other callbacks? What are you talking about?

      Basically this is more JavaShit wrecking the next generation of programmers. At least it isn't more SJW handwringing about not enough ... oops, didn't read to the end. Shit.

    6. Re:Sure why not by Anonymous Coward · · Score: 0

      Don't join the dominant career field?

    7. Re:Sure why not by ljw1004 · · Score: 1

      I mean teaching people to use highly abstract concepts like events before they have mastered basic control flow is certainly the path to their developing a greater understanding.

      STUPID!

      HyperCard for the Mac starts with events. HyperCard was hugely successful at getting people to dip their toes into code, and more importantly to empower them to tinker and via code make their computer serve their needs. I think events are a good starting point!

    8. Re:Sure why not by AmiMoJo · · Score: 1

      It makes sense for young children who have not started using variables in mathematics yet. It's teaching the higher level ideas of event driven applications, not the detail of implementing them.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    9. Re:Sure why not by DarkOx · · Score: 1

      That's the problem though. It 'seems far more concrete' it really isn't though. That will ultimately be a barrier to you learning.

      Did you math teacher show you the short cut way to find a derivative by multiplying the coefficients or did he or she show you the limit formula first. If you skip the basics most people won't bother to learn them. It feels like going backwards. It isn't fun. Now not everyone is like that of course some will get enamored with all things programing and dig in.

      Most though will have a tough time paying attention to later lessons that have them manipulating strings and printing fizzbuzz sequences after they have already been doing GUI work. Even though experience programers know the UI and event handlers are not where the interesting stuff gets done. People just learning don't know that.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    10. Re:Sure why not by Anonymous Coward · · Score: 0

      I'm not sure I agree. Event-driven programming is a different mental model from classic imperative programming, just like functional programming or object-oriented programming. (*Actual* object-oriented programming, as exemplified by e.g. Smalltalk-80, not the imperative-programming-with-classes-glued-on-and-a-bit-of-syntactic-sugar-on-top that is languages like C++ or Java.)

      What kids learn first shapes their approach to programming. The average person who learns imperative programming first will always tend to think in imperative terms. The average person who learns event-driven programming first will always tend to think in terms of events.

      Neither of these mental models is good or bad per se. There's nothing more natural about imperative programming. Sure, we use mental rules like "if A, do B" all the time. But so do we use rules like "in the event of C, do D". (In fact, you may notice that these aren't vastly different - though they're not quite the same either.) Events may be more abstract to a computer, but to the average person they're not. In fact the opposite is true: if anything they're more natural.

      Even when taught event-driven programming, kids will still learn concepts like "if" and "while" later, but they will learn to use them when they're appropriate, not to automatically reach for them all the time. A good illustration of this is "goto" statements. Once very common, they're used more sparingly these days - they do have their place, and they ARE used (look at the Linux kernel, for instance), but you don't usually resort to them. Control-flow instructions, subroutines etc. are more useful.

      Kids that learn event-driven programming first will still learn things like "if" and "while". But they will learn them second, just like we learn "if" and "while" first and "goto" second. And they will use them when appropriate, but they won't conceptualize every problem in purely imperative terms, just like we don't conceptualize every problem in terms of a maze of gotos.

      And remember that programming is, by and large, a means to achieve an end, not an end in itself. You usually program to get a certain job done. What's the best tool for that job? The one that allows you to get the job done as quickly and conveniently as possible. Depending on the requirements, this may well be something that goes beyond pure imperative programming.

      Lastly: have you ever used event-driven programming? I have, on occasion. It takes some getting used to, and it takes some time to train yourself to actually use events. But once you get the hang of it, it's a powerful new tool in your arsenal. You should check it out.

  13. unannounced signature tutorial by mwvdlee · · Score: 2

    another as yet unannounced signature tutorial that it teased would be "just as HUGE" as the Star Wars one. Any guesses on what that might be?

    No idea what it could be.
    I'm never going to get this.
    I'll get this when hell's FROZEN over.

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  14. Girls don't like star wars? by Tyrannosaur · · Score: 1

    As a university student, it has seemed to me that among my friends, there are more girls excited/talking about the new star wars movie coming out than guys.... Maybe this just applies to millenials? I mean, my 5 year old sister likes disney princesses, but....

  15. whatever by Anonymous Coward · · Score: 0

    "eschews both IF statements and loop"
    "using popular culture to make the uninterested interested"

    This is not how to learn coding.

    Here's a thought:

    Give them a problem they actually want and need to solve.
    Then give them a basic overview and explanation of how a certain programming tool might solve it and which functions will be most useful.
    Give them the manual to the language and set them loose.

  16. If the women in my office are any indicator... by Anonymous Coward · · Score: 0

    ...it's 50 Shades of Code.

  17. Error in the specification? by bigdavex · · Score: 1

    I think there's an error in the problem specification for this puzzle. Nice job giving the prospective programmer a realistic view of the industry.

    https://studio.code.org/s/star...

    If you add only 100 points for each pilot (per the instructions), that makes 300 points, which the tutorial deems a failure.

    --
    -Dave
    1. Re:Error in the specification? by bigdavex · · Score: 1

      Josh S. (Code.org Support)

      Nov 13, 12:39

      Hi,

      Thanks for writing in about this. This is a known bug we're looking into a fix for as we speak. Please try again in a few days and write back if you're still experiencing troubles.

      Best,
      Code.org Staff

      Nov 13, 12:12

      Bug in Course starwars Stage 1 Puzzle 9
      https://studio.code.org/s/star...
      Amazon CloudFront

      The instructions to mean that each pilot is worth 100 points. The tutorial deems that a failure; the programmer has to award more points for each to succeed. I think the problem statement doesn't match the success criteria.

      --
      -Dave
  18. As some suggest by Anonymous Coward · · Score: 0

    Nothing like a link to a single person's opinion piece for your "as some suggest."

    Well, as I am a single person with an opinion:

    As some suggest , perhaps it would be more appropriate to reference a person about women in STEM fields who didn't actually eschew the STEM fields herself as shown in her own About Page on her own site. From the linked page:

    "After a brief “character-building” stint as a pre-medical student marked most notably by a year of organic chemistry, I decided to give up the sciences and turned to writing full-time."

    Yes, this seems to be *the* person I would quote as an authority about women in STEM fields (as some suggest).

  19. If only you knew... by Chris+Mattern · · Score: 1

    ...the power of the Dark Side of the FORTH.

  20. in a locked room with no windows... by sconeu · · Score: 1

    I'd prefer a white room with black curtains at the station.

    --
    General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
  21. Isn't saying females aren't into Star Wars by operagost · · Score: 2

    Kind of sexist?

    --

    Gamingmuseum.com: Give your 3D accelerator a rest.
  22. theodp by Anonymous Coward · · Score: 0

    Am I the only one who thinks theodp is a lunatic? How does his posts always get to the front page?

  23. The Fix by SuperKendall · · Score: 1

    Obviously, the real solution is to get women more interested in Star Wars - which thankfully I think J.J. Abrams might be accomplishing.

    Then the Star Wars posters will be an attractant. In fact any uptick in female interest of programming is probably directly attributable to Rebels.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  24. hey, by Anonymous Coward · · Score: 0

    no ifs allowed buddy

  25. Bizarro world by aussersterne · · Score: 2

    Um, I would hypothesize that there is correlation between liking Sci-Fi and liking technology and coding that has nothing to do with gender.

    Gosh, why don't we focus on poetry instead of tools in shop class? BECAUSE IT'S SHOP CLASS.

    You might get a few unusual suspects to come to the first week of shop class if it's focused on cake-making, too. But eventually the tools will come out and at that point you'll still lose anyone that wasn't in it for the hardware and banging.

    Same thing goes for IT and STEM in general. It is what it is. Geeks like it. Geek women like it. They also like films and bits of pop culture that are full of technology and physics and stuff. Downplay that all you want, but at the end of the day, it is what it is. Hanging a bunch of photos of flowers and unicorns in programmer school is not going to keep the flower-and-unicorn set there once the homework begins.

    I read the Fortune article linked from the Facebook post and it's pretty flawed. It's based on simply asking teen girls if some art and flowers in the classroom would make them more likely to enroll in computer science classes. Of course they said yes. That has shit all to do with whether they'd actually do it, or whether they'd actually stay in computer science class once they got there. Clearly not. Anyone that is swayed to choose their courses by the presence of art and flowers in the classroom (or that concedes so easily to a survey like this one) is not likely IMO to stick around and become a computing professional through years of staring at a screen all day, or to hang tough through the related homework.

    Silly stuff.

    --
    STOP . AMERICA . NOW
    1. Re:Bizarro world by Anonymous Coward · · Score: 0

      Hanging a bunch of photos of flowers and unicorns in programmer school is not going to keep the flower-and-unicorn set there once the homework begins.

      I don't know, most bronies I've met are pretty geeky.

    2. Re:Bizarro world by nitehawk214 · · Score: 1

      This is what happens when these things are run by people that majored in gender studies instead of actual science. They have to find sexism in everything, else their degree becomes useless and their jobs become redundant.

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
  26. I can think of one valid reason... just one though by Gazzonyx · · Score: 1

    While I agree with what you said, there is a valid "more advanced" reason to avoid conditionals with many languages; if your conditionals are such that you're checking against a set of attributes or behaviors consistently, it might be better to remove the conditional and use a polymorphic object in place of the 'if ... then' or 'case' statements.

    This is, of course, provided that the language that you are using has an object model that makes this possible, easy, and more legible than the conditionals. I doubt kids learning how to code are receptive to this though as most junior programmers aren't ready to make this leap.

    --

    If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

  27. But "if" as a keyword is evil anyway. by Anonymous Coward · · Score: 0

    Why not simply define "if" as a function?

    https://wiki.haskell.org/If-then-else

  28. Too many activists by zippthorne · · Score: 1

    Tried the "ages 6-10" pathway, and a positive thing I can say is that it uses the a MIT Scratch-like programming language for the coding challenges (giving credit to Harvard and Berkley...), which I think is a great idea for introducing coding concepts to people not familiar with the traditional languages yet.

    There are 15 levels and every few levels there is a video message from someone involved in star wars talking about the movies (nice ad placement, btw) or about javascript (which makes no sense to include on the "ages 6-10" visual code based track). There is even a button to show the "underlying code" which shows some javascript commands that don't quite implement the same thing that the user has created in the block-based language.

    Worse, it's not a game of puzzles of slowly increasing difficulty that must be solved by increasingly clever code. Instead it's 15 challenges of almost zero difficulty, used as a tutorial for a small number of code elements before dumping the user into a sandbox to "create their own game."

    It's clearly written to appeal not to 6-10 year-olds, but to education activists in the education activist conference circuit (i.e. not actual educators in actual classrooms).

    I realize it's only an hour, but wouldn't "getting kids interested in code" be better served by creating more games that rely on "code-thinking" to solve? A game like "Human Resources Machine" but with a shallower difficulty ramp-up (and a concept of functions, and disguising some of the tasks to have more rewarding results) would, I think, be far more enticing to children of varying exposure to programming than an overblown Disney/Javascript ad. As would a Scratch-based update to the classic robowar-type games (codecombat.com does something somewhat similar with javascript, which I think is too text-y for young children), but without exposing new users to an online community of already-mature robot designs.

    --
    Can you be Even More Awesome?!