Slashdot Mirror


How Experienced And Novice Programmers See Code

Esther Schindler writes "We always talk about how programmers improve their skill by reading others' code. But the newbies aren't going to be as good at even doing that, when they start. There's some cool research underway, using eye tracking to compare how an experienced programmer looks at code compared to a novice. Seems to be early days, but worth a nod and a smile." Reader Necroman points out that if the above link is unreachable, try this one. The videos are also available on YouTube: Expert, Novice.

14 of 238 comments (clear)

  1. Code? by Anonymous Coward · · Score: 5, Funny

    I see Blonde, Brunette,...

    1. Re:Code? by Beardo+the+Bearded · · Score: 5, Funny

      I see lack of comments, lack of comments, and god damned polish notation.

      Hungarian notation? I assume because of the "lack of comments".

      aHungarian nnotation? nI vassume abecause cof cthe alack cof ncomments

      FTFY

      --

      ---
      ECHELON is a government program to find words like bomb, jihad, plutonium, assassinate, and anarchy.
  2. Contacting Server... by localman57 · · Score: 5, Funny

    At this moment, novice programmers think the network is down. Experienced programmers know the site from TFA has been slashdotted.

    1. Re:Contacting Server... by SirGarlon · · Score: 4, Funny

      So much for the idea that Slashdot readers never look at TFA. However, I remain undaunted, and will now proceed to discuss the article even though no one can read it! :-)

      --
      [Sir Garlon] is the marvellest knight that is now living, for he destroyeth many good knights, for he goeth invisible.
    2. Re:Contacting Server... by Ibiwan · · Score: 5, Funny

      Experienced programmers know the ENEMY'S network is down.

      --
      -- //no comment
    3. Re:Contacting Server... by tool462 · · Score: 5, Funny

      We read the article, just not before we comment. Usually I middle-click to open the article in a new tab, then read the comments. That way I know which parts of the article to indignant about when I get to them.

    4. Re:Contacting Server... by Chris+Mattern · · Score: 4, Funny

      You mean the enemy's gateway is down...

    5. Re:Contacting Server... by schlachter · · Score: 5, Funny

      TFA? I usually say FTA and comment away...

      --
      My God can beat up your God. Just kidding...don't take offense. I know there's no God.
  3. Obligitory by 0racle · · Score: 1, Funny

    I don't even see code anymore. All I see is Blond, Brunette, Redhead ...

    --
    "I use a Mac because I'm just better than you are."
  4. Re:Comments by Sperbels · · Score: 5, Funny

    You don't find this useful?

    //if Foos is empty don't do anything
    if (Foos != null)
    //let's go through the collection and increment the counter
    foreach (Foo foo in Foos)
    //increment the count
    foo.count++;

  5. The Inlined code is more difficult to read. by idealistw · · Score: 4, Funny

    Just a FYI, the test is really poorly done because the code that the novice and the expert are looking at are different. I can read the Expert's code and figure out what the output should read in no time. The inlined code, on the other hand, I have to do the full iteration for each loop. It's really a test fail.

  6. such a shame by Dark$ide · · Score: 3, Funny

    An article that could have been astounding is on a site that got Slashdotted. Perhaps they need some experienced web programmers.

    --

    Sigs. We don't need no steenking sigs.

  7. Re:Comments by cdrudge · · Score: 4, Funny

    I see we had the same college TAs and professors.

  8. Re:Comments by Anonymous Coward · · Score: 3, Funny

    No, this is what I get to read // Add 2 seconds to the timer because 1 second is way too short for this situation
    timer.add(90);