Slashdot Mirror


White House Touts Obama's 1-Liner as 2014 Tech Highlight

theodp (442580) writes That President Obama became the first President to write a line of code (as a top Microsoft lobbyist looked on) is #1 on the White House's Top 9 science and technology highlights from 2014. To kick off this year's Hour of Code, the President 'learned to code' by moving a Disney Princess Elsa character 100 pixels on a screen, first by dragging-and-dropping Blockly puzzle pieces and then by coding 1 line of JavaScript. Interestingly, Bill Clinton might have been The First President To Write Code had Microsoft seen fit to use its patented, circa-1995 Graphical Programming System and Method for Enabling a Person to Learn Text-Based Programming — which describes how kids as young as 8-12 years of age can be taught to program by progressing from creating a program using graphical objects to doing so using text-based programming — to teach President Clinton to code some 20 years ago!

4 of 65 comments (clear)

  1. Hello World! by Irate+Engineer · · Score: 4, Funny

    That would be such an appropriate first line of code for the POTUS, in so many ways.

    --

    Left MS Windows for Linux Mint and never looked back!

    Vote for Bernie in 2016!

  2. Re:Let's not us forget... by Anonymous Coward · · Score: 0, Funny

    Obama would be no where if Al Goare didn't invent the Internet first!

    Hello. I am Albert Goare. Why are you saying I invented the internet?

  3. Retail griefing circa 1984 by greg1104 · · Score: 4, Funny

    Back in the day, this used to be a popular first programming exercise:

    10 PRINT "RADIO SHACK SUCKS!!!"
    20 GOTO 10
    RUN

    I wonder if we could get more kids to code if there was still a simple programming language that sped up trolling for lulz at the mall?

  4. Re:Uh, no by Anonymous Coward · · Score: 2, Funny

    Actually yeah, that is writing a line of code. It's calling a function, it's one line and incredibly simple, but so is this:

    print("Fuck you.")

    Python3 no less. Are you actually brainless enough to argue that because someone else taught him how to do it, it's not coding? That's a level of narcissism that's rare even for low ID lusers on Slashdot. I'm guessing if you program at all, you do so because you either were taught to do so or read tutorials written by someone else...yet according to your own rules, that would mean you're not a programmer at all.

    10 print "You, jason777, are a self-important twit."
    20 goto 10